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