version.cmake.in 724 B

123456789101112131415161718192021
  1. ## gflags CMake configuration version file
  2. # -----------------------------------------------------------------------------
  3. # library version
  4. set (PACKAGE_VERSION "@PACKAGE_VERSION@")
  5. # -----------------------------------------------------------------------------
  6. # check compatibility
  7. # Perform compatibility check here using the input CMake variables.
  8. # See example in http://www.cmake.org/Wiki/CMake_2.6_Notes.
  9. set (PACKAGE_VERSION_COMPATIBLE TRUE)
  10. set (PACKAGE_VERSION_UNSUITABLE FALSE)
  11. if ("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@PACKAGE_VERSION_MAJOR@" AND
  12. "${PACKAGE_FIND_VERSION_MINOR}" EQUAL "@PACKAGE_VERSION_MINOR@")
  13. set (PACKAGE_VERSION_EXACT TRUE)
  14. else ()
  15. set (PACKAGE_VERSION_EXACT FALSE)
  16. endif ()