summaryrefslogtreecommitdiff
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
parent4a4ab2bb48bb59d6393cf3ce0fa5ade0df18195a (diff)
Added EFLConfigVersion.cmake.in for all XXXConfigVersion.cmakeNeeds Review
-rw-r--r--Makefile.am9
-rw-r--r--cmakeconfig/EFLConfigVersion.cmake.in11
-rw-r--r--configure.ac7
3 files changed, 26 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2983d1e450..9b2072c207 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -236,12 +236,19 @@ endif
236# Cmake configs: 236# Cmake configs:
237cmakeconfigdir = ${prefix}/share/cmake/Modules/ 237cmakeconfigdir = ${prefix}/share/cmake/Modules/
238cmakeconfig_DATA = cmakeconfig/EinaConfig.cmake \ 238cmakeconfig_DATA = cmakeconfig/EinaConfig.cmake \
239 cmakeconfig/EinaConfigVersion.cmake \
239 cmakeconfig/EoConfig.cmake \ 240 cmakeconfig/EoConfig.cmake \
241 cmakeconfig/EoConfigVersion.cmake \
240 cmakeconfig/EetConfig.cmake \ 242 cmakeconfig/EetConfig.cmake \
243 cmakeconfig/EetConfigVersion.cmake \
241 cmakeconfig/EvasConfig.cmake \ 244 cmakeconfig/EvasConfig.cmake \
245 cmakeconfig/EvasConfigVersion.cmake \
242 cmakeconfig/EcoreConfig.cmake \ 246 cmakeconfig/EcoreConfig.cmake \
247 cmakeconfig/EcoreConfigVersion.cmake \
243 cmakeconfig/EdjeConfig.cmake \ 248 cmakeconfig/EdjeConfig.cmake \
244 cmakeconfig/EfreetConfig.cmake 249 cmakeconfig/EdjeConfigVersion.cmake \
250 cmakeconfig/EfreetConfig.cmake \
251 cmakeconfig/EfreetConfigVersion.cmake
245 252
246# D-Bus services: 253# D-Bus services:
247 254
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 @@
1set(PACKAGE_VERSION "@VERSION@")
2
3# Check whether the requested PACKAGE_FIND_VERSION is compatible
4if ("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
5 set(PACKAGE_VERSION_COMPATIBLE FALSE)
6else ()
7 set(PACKAGE_VERSION_COMPATIBLE TRUE)
8 if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
9 set(PACKAGE_VERSION_EXACT TRUE)
10 endif ()
11endif ()
diff --git a/configure.ac b/configure.ac
index a5182244d4..b12d5e3438 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3700,12 +3700,19 @@ dbus-services/org.enlightenment.Efreet.service
3700dbus-services/org.enlightenment.Ethumb.service 3700dbus-services/org.enlightenment.Ethumb.service
3701$po_makefile_in 3701$po_makefile_in
3702cmakeconfig/EinaConfig.cmake 3702cmakeconfig/EinaConfig.cmake
3703cmakeconfig/EinaConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3703cmakeconfig/EoConfig.cmake 3704cmakeconfig/EoConfig.cmake
3705cmakeconfig/EoConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3704cmakeconfig/EetConfig.cmake 3706cmakeconfig/EetConfig.cmake
3707cmakeconfig/EetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3705cmakeconfig/EvasConfig.cmake 3708cmakeconfig/EvasConfig.cmake
3709cmakeconfig/EvasConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3706cmakeconfig/EcoreConfig.cmake 3710cmakeconfig/EcoreConfig.cmake
3711cmakeconfig/EcoreConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3707cmakeconfig/EdjeConfig.cmake 3712cmakeconfig/EdjeConfig.cmake
3713cmakeconfig/EdjeConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3708cmakeconfig/EfreetConfig.cmake 3714cmakeconfig/EfreetConfig.cmake
3715cmakeconfig/EfreetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3709]) 3716])
3710 3717
3711AC_OUTPUT 3718AC_OUTPUT