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) | |
download | efl-be22889f7ba6d2927cf8c269ce85a1f4a72586dc.tar.gz |
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 @@ +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 () |