CMake/Tests/FindPackageTest/Baz 1.2/CMake/BazConfigVersion.cmake

9 lines
203 B
CMake

set(PACKAGE_VERSION 1.2)
if("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 1)
set(PACKAGE_VERSION_COMPATIBLE 1)
if("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 2)
set(PACKAGE_VERSION_EXACT 1)
endif()
endif()