xref: /freebsd-src/contrib/ntp/sntp/libevent/cmake/LibeventConfigVersion.cmake.in (revision a466cc55373fc3cf86837f09da729535b57e69a1)
1*a466cc55SCy Schubertset(PACKAGE_VERSION "@EVENT_PACKAGE_VERSION@")
2*a466cc55SCy Schubert
3*a466cc55SCy Schubert# Check whether the requested PACKAGE_FIND_VERSION is compatible
4*a466cc55SCy Schubertif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
5*a466cc55SCy Schubert  set(PACKAGE_VERSION_COMPATIBLE FALSE)
6*a466cc55SCy Schubertelse()
7*a466cc55SCy Schubert  set(PACKAGE_VERSION_COMPATIBLE TRUE)
8*a466cc55SCy Schubert  if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
9*a466cc55SCy Schubert    set(PACKAGE_VERSION_EXACT TRUE)
10*a466cc55SCy Schubert  endif()
11*a466cc55SCy Schubertendif()
12