summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-21 12:17:12 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-01-23 18:23:40 +0100
commit9f2a2f7968c0b7e036093945cdc035427b681809 (patch)
tree230b9a5649a520f49fa9216c789e18e3c087a17b
parentfe1863e30d21ad957db4929a7c402e07731530dd (diff)
cmake: we need to enable beta api support
otherwise we cannot build our own api...
-rw-r--r--cmake/config/common.cmake3
-rw-r--r--src/lib/efl/Efl_Config.h.cmake2
2 files changed, 5 insertions, 0 deletions
diff --git a/cmake/config/common.cmake b/cmake/config/common.cmake
index adb0bce112..4f01d1397a 100644
--- a/cmake/config/common.cmake
+++ b/cmake/config/common.cmake
@@ -23,3 +23,6 @@ EFL_OPTION(EFL_EO_API_SUPPORT "Whenever to enable new Eo APIs" ON)
23if(NOT EFL_EO_API_SUPPORT) 23if(NOT EFL_EO_API_SUPPORT)
24 EFL_OPTION_SET_MESSAGE(EFL_EO_API_SUPPORT "Risky!") 24 EFL_OPTION_SET_MESSAGE(EFL_EO_API_SUPPORT "Risky!")
25endif() 25endif()
26
27#this is needed to build efl
28set(EFL_BETA_API_SUPPORT 1)
diff --git a/src/lib/efl/Efl_Config.h.cmake b/src/lib/efl/Efl_Config.h.cmake
index f068588125..3b356f06ca 100644
--- a/src/lib/efl/Efl_Config.h.cmake
+++ b/src/lib/efl/Efl_Config.h.cmake
@@ -6,8 +6,10 @@
6 * and/or -DEFL_EO_API_SUPPORT as desired 6 * and/or -DEFL_EO_API_SUPPORT as desired
7 */ 7 */
8#ifndef EFL_API_OVERRIDE 8#ifndef EFL_API_OVERRIDE
9
9#cmakedefine EFL_API_LEGACY_DEF 10#cmakedefine EFL_API_LEGACY_DEF
10#cmakedefine EFL_EO_API_SUPPORT 11#cmakedefine EFL_EO_API_SUPPORT
12#cmakedefine EFL_BETA_API_SUPPORT
11/* You can't disable Eo API anymore as EFL use it everywhere internally 13/* You can't disable Eo API anymore as EFL use it everywhere internally
12 and we don't want to expose it publicly just yet, so keep it hidden 14 and we don't want to expose it publicly just yet, so keep it hidden
13 and require an explicit request to get it. */ 15 and require an explicit request to get it. */