summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 14:50:04 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:29:20 -0200
commitfd8865d0d048cc4b03adb7422a5cd67b5e33ba0a (patch)
tree59bc99c1ee72c0af831d055663c45b13641c04e0 /src/lib/eina
parent4d21d6c56a697e0cfaa11cee5a6fb3f16739ddac (diff)
cmake: EFL_OPTION() now supports DEPENDS to handle conditionals.
This is now used by ENABLE_SYSTEMD and ENABLE_VALGRIND, which moves to "common.cmake" since they are shared among multiple libraries. With that I found that LINK_FLAGS is indeed a string, not a CMake List (space separated, not ";"), then fix that so compilation actually works.
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/CMakeLists.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/eina/CMakeLists.txt b/src/lib/eina/CMakeLists.txt
index dabbabf756..33234700fe 100644
--- a/src/lib/eina/CMakeLists.txt
+++ b/src/lib/eina/CMakeLists.txt
@@ -1,5 +1,12 @@
1set(DESCRIPTION "A Library that implements fast data types and miscellaneous tools") 1set(DESCRIPTION "A Library that implements fast data types and miscellaneous tools")
2set(PKG_CONFIG_REQUIRES_PRIVATE OPTIONAL libsystemd) 2
3if(ENABLE_SYSTEMD)
4 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE libsystemd)
5endif()
6
7if(ENABLE_VALGRIND)
8 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE valgrind)
9endif()
3 10
4set(PUBLIC_LIBRARIES 11set(PUBLIC_LIBRARIES
5 pthread 12 pthread
@@ -11,10 +18,6 @@ set(LIBRARIES
11 rt 18 rt
12) 19)
13 20
14if(ENABLE_VALGRIND)
15 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE valgrind)
16endif()
17
18set(PUBLIC_HEADERS 21set(PUBLIC_HEADERS
19 Eina.h 22 Eina.h
20 eina_accessor.h 23 eina_accessor.h