You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
380 B

3 months ago
  1. set(PACKAGE_VERSION "@PROJECT_VERSION@")
  2. # Check whether the requested PACKAGE_FIND_VERSION is compatible
  3. if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
  4. set(PACKAGE_VERSION_COMPATIBLE FALSE)
  5. else()
  6. set(PACKAGE_VERSION_COMPATIBLE TRUE)
  7. if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
  8. set(PACKAGE_VERSION_EXACT TRUE)
  9. endif()
  10. endif()