summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-08 14:28:20 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-08 14:28:20 (GMT)
commit52a6ed2aed6ad2ed6880e76535359a6b45fda253 (patch)
treead57839d084eeeea9ca6c8cd55e1acb4c25b9442 /Tests/FindPackageTest/lib/arch/zot-3.1/zot-config-version.cmake
parentb41ad3b399c591f8f35eaacf056ffd9016b9e0bc (diff)
downloadCMake-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.cmake7
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)