summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-02 18:44:35 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-02 18:44:35 (GMT)
commit8018fcca6e055a0f12a17fc8324128080a9ec568 (patch)
treeaccecb14f80dece735e2822b76ad0c88825149b6 /Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake
parenta41c0a9dcbc201b183bcc0a0c0f6bf9f2cebd079 (diff)
parent5ada4be81bdb7695b2a4741db76ec66473ccd961 (diff)
downloadCMake-8018fcca6e055a0f12a17fc8324128080a9ec568.zip
CMake-8018fcca6e055a0f12a17fc8324128080a9ec568.tar.gz
CMake-8018fcca6e055a0f12a17fc8324128080a9ec568.tar.bz2
Merge branch 'master' into revise-compiler-id-policies
Diffstat (limited to 'Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake')
-rw-r--r--Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake b/Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake
new file mode 100644
index 0000000..870f747
--- /dev/null
+++ b/Tests/Module/FindDependency/packages/Pack3/Pack3ConfigVersion.cmake
@@ -0,0 +1,11 @@
+
+set(PACKAGE_VERSION "1.4")
+
+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()