summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile.am15
-rw-r--r--cmakeconfig/EldbusConfig.cmake.in32
-rw-r--r--cmakeconfig/EthumbClientConfig.cmake.in32
-rw-r--r--cmakeconfig/EthumbConfig.cmake.in32
-rw-r--r--configure.ac6
5 files changed, 117 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 148be7f116..0e8d175f90 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -266,11 +266,26 @@ edje_cmakeconfig_DATA = \
266cmakeconfig/EdjeConfig.cmake \ 266cmakeconfig/EdjeConfig.cmake \
267cmakeconfig/EdjeConfigVersion.cmake 267cmakeconfig/EdjeConfigVersion.cmake
268 268
269eldbus_cmakeconfigdir = $(libdir)/cmake/Eldbus/
270eldbus_cmakeconfig_DATA = \
271cmakeconfig/EldbusConfig.cmake \
272cmakeconfig/EldbusConfigVersion.cmake
273
269efreet_cmakeconfigdir = $(libdir)/cmake/Efreet/ 274efreet_cmakeconfigdir = $(libdir)/cmake/Efreet/
270efreet_cmakeconfig_DATA = \ 275efreet_cmakeconfig_DATA = \
271cmakeconfig/EfreetConfig.cmake \ 276cmakeconfig/EfreetConfig.cmake \
272cmakeconfig/EfreetConfigVersion.cmake 277cmakeconfig/EfreetConfigVersion.cmake
273 278
279ethumb_cmakeconfigdir = $(libdir)/cmake/Ethumb/
280ethumb_cmakeconfig_DATA = \
281cmakeconfig/EthumbConfig.cmake \
282cmakeconfig/EthumbConfigVersion.cmake
283
284ethumbclient_cmakeconfigdir = $(libdir)/cmake/EthumbClient/
285ethumbclient_cmakeconfig_DATA = \
286cmakeconfig/EthumbClientConfig.cmake \
287cmakeconfig/EthumbClientConfigVersion.cmake
288
274# D-Bus services: 289# D-Bus services:
275 290
276servicedir = @dbusservicedir@ 291servicedir = @dbusservicedir@
diff --git a/cmakeconfig/EldbusConfig.cmake.in b/cmakeconfig/EldbusConfig.cmake.in
new file mode 100644
index 0000000000..ba10133c1b
--- /dev/null
+++ b/cmakeconfig/EldbusConfig.cmake.in
@@ -0,0 +1,32 @@
1# - Try to find eldbus
2# Once done this will define
3# ELDBUS_FOUND - System has eldbus
4# ELDBUS_INCLUDE_DIRS - The eldbus include directories
5# ELDBUS_LIBRARIES - The libraries needed to use eldbus
6# ELDBUS_DEFINITIONS - Compiler switches required for using eldbus
7
8set(MY_PKG eldbus)
9
10find_package(PkgConfig)
11if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
12 # "QUIET" was introduced in 2.8.2
13 set(_QUIET QUIET)
14endif ()
15pkg_check_modules(PC_LIBELDBUS ${_QUIET} ${MY_PKG})
16
17find_library(ELDBUS_LIBRARY
18 NAMES ${PC_LIBELDBUS_LIBRARIES}
19 HINTS ${PC_LIBELDBUS_LIBDIR} ${PC_LIBELDBUS_LIBRARY_DIRS} )
20
21set(ELDBUS_DEFINITIONS ${PC_LIBELDBUS_CFLAGS_OTHER})
22set(ELDBUS_LIBRARIES ${ELDBUS_LIBRARY})
23set(ELDBUS_INCLUDE_DIRS ${PC_LIBELDBUS_INCLUDE_DIRS})
24
25include(FindPackageHandleStandardArgs)
26# handle the QUIETLY and REQUIRED arguments and set ELDBUS_FOUND to TRUE
27# if all listed variables are TRUE
28find_package_handle_standard_args(${MY_PKG} DEFAULT_MSG
29 ELDBUS_LIBRARIES ELDBUS_INCLUDE_DIRS)
30
31mark_as_advanced(ELDBUS_INCLUDE_DIRS ELDBUS_LIBRARY ELDBUS_LIBRARIES ELDBUS_DEFINITIONS)
32
diff --git a/cmakeconfig/EthumbClientConfig.cmake.in b/cmakeconfig/EthumbClientConfig.cmake.in
new file mode 100644
index 0000000000..fb66932c0a
--- /dev/null
+++ b/cmakeconfig/EthumbClientConfig.cmake.in
@@ -0,0 +1,32 @@
1# - Try to find ethumb_client
2# Once done this will define
3# ETHUMB_CLIENT_FOUND - System has ethumb_client
4# ETHUMB_CLIENT_INCLUDE_DIRS - The ethumb_client include directories
5# ETHUMB_CLIENT_LIBRARIES - The libraries needed to use ethumb_client
6# ETHUMB_CLIENT_DEFINITIONS - Compiler switches required for using ethumb_client
7
8set(MY_PKG ethumb_client)
9
10find_package(PkgConfig)
11if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
12 # "QUIET" was introduced in 2.8.2
13 set(_QUIET QUIET)
14endif ()
15pkg_check_modules(PC_LIBETHUMB_CLIENT ${_QUIET} ${MY_PKG})
16
17find_library(ETHUMB_CLIENT_LIBRARY
18 NAMES ${PC_LIBETHUMB_CLIENT_LIBRARIES}
19 HINTS ${PC_LIBETHUMB_CLIENT_LIBDIR} ${PC_LIBETHUMB_CLIENT_LIBRARY_DIRS} )
20
21set(ETHUMB_CLIENT_DEFINITIONS ${PC_LIBETHUMB_CLIENT_CFLAGS_OTHER})
22set(ETHUMB_CLIENT_LIBRARIES ${ETHUMB_CLIENT_LIBRARY})
23set(ETHUMB_CLIENT_INCLUDE_DIRS ${PC_LIBETHUMB_CLIENT_INCLUDE_DIRS})
24
25include(FindPackageHandleStandardArgs)
26# handle the QUIETLY and REQUIRED arguments and set ETHUMB_CLIENT_FOUND to TRUE
27# if all listed variables are TRUE
28find_package_handle_standard_args(${MY_PKG} DEFAULT_MSG
29 ETHUMB_CLIENT_LIBRARIES ETHUMB_CLIENT_INCLUDE_DIRS)
30
31mark_as_advanced(ETHUMB_CLIENT_INCLUDE_DIRS ETHUMB_CLIENT_LIBRARY ETHUMB_CLIENT_LIBRARIES ETHUMB_CLIENT_DEFINITIONS)
32
diff --git a/cmakeconfig/EthumbConfig.cmake.in b/cmakeconfig/EthumbConfig.cmake.in
new file mode 100644
index 0000000000..65a79fcfd2
--- /dev/null
+++ b/cmakeconfig/EthumbConfig.cmake.in
@@ -0,0 +1,32 @@
1# - Try to find ethumb
2# Once done this will define
3# ETHUMB_FOUND - System has ethumb
4# ETHUMB_INCLUDE_DIRS - The ethumb include directories
5# ETHUMB_LIBRARIES - The libraries needed to use ethumb
6# ETHUMB_DEFINITIONS - Compiler switches required for using ethumb
7
8set(MY_PKG ethumb)
9
10find_package(PkgConfig)
11if ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER "2.8.1")
12 # "QUIET" was introduced in 2.8.2
13 set(_QUIET QUIET)
14endif ()
15pkg_check_modules(PC_LIBETHUMB ${_QUIET} ${MY_PKG})
16
17find_library(ETHUMB_LIBRARY
18 NAMES ${PC_LIBETHUMB_LIBRARIES}
19 HINTS ${PC_LIBETHUMB_LIBDIR} ${PC_LIBETHUMB_LIBRARY_DIRS} )
20
21set(ETHUMB_DEFINITIONS ${PC_LIBETHUMB_CFLAGS_OTHER})
22set(ETHUMB_LIBRARIES ${ETHUMB_LIBRARY})
23set(ETHUMB_INCLUDE_DIRS ${PC_LIBETHUMB_INCLUDE_DIRS})
24
25include(FindPackageHandleStandardArgs)
26# handle the QUIETLY and REQUIRED arguments and set ETHUMB_FOUND to TRUE
27# if all listed variables are TRUE
28find_package_handle_standard_args(${MY_PKG} DEFAULT_MSG
29 ETHUMB_LIBRARIES ETHUMB_INCLUDE_DIRS)
30
31mark_as_advanced(ETHUMB_INCLUDE_DIRS ETHUMB_LIBRARY ETHUMB_LIBRARIES ETHUMB_DEFINITIONS)
32
diff --git a/configure.ac b/configure.ac
index 89244e4b2a..4c3c8b5b75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3815,8 +3815,14 @@ cmakeconfig/EcoreConfig.cmake
3815cmakeconfig/EcoreConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 3815cmakeconfig/EcoreConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3816cmakeconfig/EdjeConfig.cmake 3816cmakeconfig/EdjeConfig.cmake
3817cmakeconfig/EdjeConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 3817cmakeconfig/EdjeConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3818cmakeconfig/EldbusConfig.cmake
3819cmakeconfig/EldbusConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3818cmakeconfig/EfreetConfig.cmake 3820cmakeconfig/EfreetConfig.cmake
3819cmakeconfig/EfreetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 3821cmakeconfig/EfreetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3822cmakeconfig/EthumbConfig.cmake
3823cmakeconfig/EthumbConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3824cmakeconfig/EthumbClientConfig.cmake
3825cmakeconfig/EthumbClientConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
3820]) 3826])
3821 3827
3822AC_OUTPUT 3828AC_OUTPUT