xref: /netbsd-src/external/bsd/libevent/dist/cmake/LibeventConfigVersion.cmake.in (revision 657871a79c9a2060a6255a242fa1a1ef76b56ec6)
1*657871a7Schristosset(PACKAGE_VERSION "@EVENT_PACKAGE_VERSION@")
2*657871a7Schristos
3*657871a7Schristos# Check whether the requested PACKAGE_FIND_VERSION is compatible
4*657871a7Schristosif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
5*657871a7Schristos  set(PACKAGE_VERSION_COMPATIBLE FALSE)
6*657871a7Schristoselse()
7*657871a7Schristos  set(PACKAGE_VERSION_COMPATIBLE TRUE)
8*657871a7Schristos  if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
9*657871a7Schristos    set(PACKAGE_VERSION_EXACT TRUE)
10*657871a7Schristos  endif()
11*657871a7Schristosendif()
12