CMake/Tests/FindPackageTest/Exporter/CMakeTestExportPackageConfigVersion.cmake.in
Brad King 07f029d6ef Test the user package registry
We teach the FindPackageTest to build a sample project that stores its
build tree in the user package registry using export(PACKAGE), and then
find it with find_package.
2009-09-01 14:05:42 -04:00

7 lines
201 B
CMake

# Test config file.
SET(PACKAGE_VERSION "1.@CMAKE_VERSION@")
IF("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
SET(PACKAGE_VERSION_COMPATIBLE 1)
SET(PACKAGE_VERSION_EXACT 1)
ENDIF()