summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile.am5
-rw-r--r--cmakeconfig/EolianConfig.cmake.in32
-rw-r--r--configure.ac2
3 files changed, 39 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index cfdb3048e1..83b817245e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -258,6 +258,11 @@ eo_cmakeconfig_DATA = \
258cmakeconfig/EoConfig.cmake \ 258cmakeconfig/EoConfig.cmake \
259cmakeconfig/EoConfigVersion.cmake 259cmakeconfig/EoConfigVersion.cmake
260 260
261eolian_cmakeconfigdir = $(libdir)/cmake/Eolian/
262eolian_cmakeconfig_DATA = \
263cmakeconfig/EolianConfig.cmake \
264cmakeconfig/EolianConfigVersion.cmake
265
261eet_cmakeconfigdir = $(libdir)/cmake/Eet/ 266eet_cmakeconfigdir = $(libdir)/cmake/Eet/
262eet_cmakeconfig_DATA = \ 267eet_cmakeconfig_DATA = \
263cmakeconfig/EetConfig.cmake \ 268cmakeconfig/EetConfig.cmake \
diff --git a/cmakeconfig/EolianConfig.cmake.in b/cmakeconfig/EolianConfig.cmake.in
new file mode 100644
index 0000000000..8ab886b03a
--- /dev/null
+++ b/cmakeconfig/EolianConfig.cmake.in
@@ -0,0 +1,32 @@
1# - Try to find eolian
2# Once done this will define
3# EOLIAN_FOUND - System has eolian
4# EOLIAN_INCLUDE_DIRS - The eolian include directories
5# EOLIAN_LIBRARIES - The libraries needed to use eolian
6# EOLIAN_DEFINITIONS - Compiler switches required for using eolian
7
8set(MY_PKG eolian)
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_LIBEOLIAN ${_QUIET} ${MY_PKG})
16
17find_library(EOLIAN_LIBRARY
18 NAMES ${PC_LIBEOLIAN_LIBRARIES}
19 HINTS ${PC_LIBEOLIAN_LIBDIR} ${PC_LIBEOLIAN_LIBRARY_DIRS} )
20
21set(EOLIAN_DEFINITIONS ${PC_LIBEOLIAN_CFLAGS_OTHER})
22set(EOLIAN_LIBRARIES ${EOLIAN_LIBRARY})
23set(EOLIAN_INCLUDE_DIRS ${PC_LIBEOLIAN_INCLUDE_DIRS})
24
25include(FindPackageHandleStandardArgs)
26# handle the QUIETLY and REQUIRED arguments and set EOLIAN_FOUND to TRUE
27# if all listed variables are TRUE
28find_package_handle_standard_args(${MY_PKG} DEFAULT_MSG
29 EOLIAN_LIBRARIES EOLIAN_INCLUDE_DIRS)
30
31mark_as_advanced(EOLIAN_INCLUDE_DIRS EOLIAN_LIBRARY EOLIAN_LIBRARIES EOLIAN_DEFINITIONS)
32
diff --git a/configure.ac b/configure.ac
index 815094988b..61a60e9ff8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4168,6 +4168,8 @@ cmakeconfig/EezeConfig.cmake
4168cmakeconfig/EezeConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 4168cmakeconfig/EezeConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
4169cmakeconfig/EoConfig.cmake 4169cmakeconfig/EoConfig.cmake
4170cmakeconfig/EoConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 4170cmakeconfig/EoConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
4171cmakeconfig/EolianConfig.cmake
4172cmakeconfig/EolianConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
4171cmakeconfig/EetConfig.cmake 4173cmakeconfig/EetConfig.cmake
4172cmakeconfig/EetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in 4174cmakeconfig/EetConfigVersion.cmake:cmakeconfig/EFLConfigVersion.cmake.in
4173cmakeconfig/EvasConfig.cmake 4175cmakeconfig/EvasConfig.cmake