diff options
author | Ryuan Choi <ryuan.choi@gmail.com> | 2013-04-04 09:28:34 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2013-04-04 09:28:35 +0100 |
commit | be22889f7ba6d2927cf8c269ce85a1f4a72586dc (patch) | |
tree | cb5a36a769513397c77848a71f29217cc52990c2 /cmakeconfig | |
parent | 4a4ab2bb48bb59d6393cf3ce0fa5ade0df18195a (diff) |
Added EFLConfigVersion.cmake.in for all XXXConfigVersion.cmakeNeeds Review
Diffstat (limited to 'cmakeconfig')
-rw-r--r-- | cmakeconfig/EFLConfigVersion.cmake.in | 11 |
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 @@ | |||
1 | set(PACKAGE_VERSION "@VERSION@") | ||
2 | |||
3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible | ||
4 | if ("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") | ||
5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) | ||
6 | else () | ||
7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) | ||
8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") | ||
9 | set(PACKAGE_VERSION_EXACT TRUE) | ||
10 | endif () | ||
11 | endif () | ||