summaryrefslogtreecommitdiff
path: root/cmakeconfig
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-27 16:11:18 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-28 11:26:46 +0300
commita4ec4a6019a101d94dd062526787169652fff436 (patch)
tree41abe1e8712bf72e20271c0642862cffd80c89d5 /cmakeconfig
parent183ecab18bf333761379708c6257954605b71a1b (diff)
Eolian: update cmake.
The change is needed for applications that want to use the installed .eo files (currently of efl and elementary).
Diffstat (limited to 'cmakeconfig')
-rw-r--r--cmakeconfig/EolianConfig.cmake.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmakeconfig/EolianConfig.cmake.in b/cmakeconfig/EolianConfig.cmake.in
index 8ab886b03a..4034dbe973 100644
--- a/cmakeconfig/EolianConfig.cmake.in
+++ b/cmakeconfig/EolianConfig.cmake.in
@@ -4,6 +4,7 @@
4# EOLIAN_INCLUDE_DIRS - The eolian include directories 4# EOLIAN_INCLUDE_DIRS - The eolian include directories
5# EOLIAN_LIBRARIES - The libraries needed to use eolian 5# EOLIAN_LIBRARIES - The libraries needed to use eolian
6# EOLIAN_DEFINITIONS - Compiler switches required for using eolian 6# EOLIAN_DEFINITIONS - Compiler switches required for using eolian
7# EOLIAN_EO_DIR - The eolian directory for .eo storage
7 8
8set(MY_PKG eolian) 9set(MY_PKG eolian)
9 10
@@ -30,3 +31,11 @@ find_package_handle_standard_args(${MY_PKG} DEFAULT_MSG
30 31
31mark_as_advanced(EOLIAN_INCLUDE_DIRS EOLIAN_LIBRARY EOLIAN_LIBRARIES EOLIAN_DEFINITIONS) 32mark_as_advanced(EOLIAN_INCLUDE_DIRS EOLIAN_LIBRARY EOLIAN_LIBRARIES EOLIAN_DEFINITIONS)
32 33
34execute_process(COMMAND pkg-config --variable=eoincludedir eolian
35 OUTPUT_VARIABLE _pkgconfig_invoke_result
36 RESULT_VARIABLE _pkgconfig_failed)
37if(_pkgconfig_failed)
38 BUILD_WARNING ("Failed to find Eolian Eo directory.")
39else()
40 set (EOLIAN_EO_DIR ${_pkgconfig_invoke_result})
41endif()