aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig/EFLConfigVersion.cmake.in
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2013-04-04 09:28:34 +0100
committerTom Hacohen <tom@stosb.com>2013-04-04 09:28:35 +0100
commitbe22889f7ba6d2927cf8c269ce85a1f4a72586dc (patch)
treecb5a36a769513397c77848a71f29217cc52990c2 /cmakeconfig/EFLConfigVersion.cmake.in
parenteet: round above. (diff)
downloadefl-be22889f7ba6d2927cf8c269ce85a1f4a72586dc.tar.gz
Added EFLConfigVersion.cmake.in for all XXXConfigVersion.cmakeNeeds Review
Diffstat (limited to '')
-rw-r--r--cmakeconfig/EFLConfigVersion.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmakeconfig/EFLConfigVersion.cmake.in b/cmakeconfig/EFLConfigVersion.cmake.in
new file mode 100644
index 0000000000..f99fba11a4
--- /dev/null
+++ b/cmakeconfig/EFLConfigVersion.cmake.in
@@ -0,0 +1,11 @@
+set(PACKAGE_VERSION "@VERSION@")
+
+# Check whether the requested PACKAGE_FIND_VERSION is compatible
+if ("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
+ set(PACKAGE_VERSION_COMPATIBLE FALSE)
+else ()
+ set(PACKAGE_VERSION_COMPATIBLE TRUE)
+ if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
+ set(PACKAGE_VERSION_EXACT TRUE)
+ endif ()
+endif ()