diff options
author | Brad King <brad.king@kitware.com> | 2011-06-08 14:28:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-08 14:28:20 (GMT) |
commit | 52a6ed2aed6ad2ed6880e76535359a6b45fda253 (patch) | |
tree | ad57839d084eeeea9ca6c8cd55e1acb4c25b9442 /Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake | |
parent | b41ad3b399c591f8f35eaacf056ffd9016b9e0bc (diff) | |
download | CMake-52a6ed2aed6ad2ed6880e76535359a6b45fda253.zip CMake-52a6ed2aed6ad2ed6880e76535359a6b45fda253.tar.gz CMake-52a6ed2aed6ad2ed6880e76535359a6b45fda253.tar.bz2 |
Test find_package multiarch support (#12037)
Diffstat (limited to 'Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake')
-rw-r--r-- | Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake b/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake new file mode 100644 index 0000000..13763ad --- /dev/null +++ b/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake @@ -0,0 +1,7 @@ +SET(PACKAGE_VERSION 3.1) +IF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3) + SET(PACKAGE_VERSION_COMPATIBLE 1) + IF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1) + SET(PACKAGE_VERSION_EXACT 1) + ENDIF("${PACKAGE_FIND_VERSION_MINOR}" EQUAL 1) +ENDIF("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL 3) |