CMake/Tests/RunCMake/find_dependency/Pack1/Pack1ConfigVersion.cmake

12 lines
297 B
CMake
Raw Normal View History

2014-03-11 17:36:58 +04:00
set(PACKAGE_VERSION "1.3")
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()