cmake: we need to enable beta api support
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sat, 21 Jan 2017 11:17:12 +0000 (12:17 +0100)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Mon, 23 Jan 2017 17:23:40 +0000 (18:23 +0100)
otherwise we cannot build our own api...

cmake/config/common.cmake
src/lib/efl/Efl_Config.h.cmake

index adb0bce..4f01d13 100644 (file)
@@ -23,3 +23,6 @@ EFL_OPTION(EFL_EO_API_SUPPORT "Whenever to enable new Eo APIs" ON)
 if(NOT EFL_EO_API_SUPPORT)
   EFL_OPTION_SET_MESSAGE(EFL_EO_API_SUPPORT "Risky!")
 endif()
+
+#this is needed to build efl
+set(EFL_BETA_API_SUPPORT 1)
index f068588..3b356f0 100644 (file)
@@ -6,8 +6,10 @@
  * and/or -DEFL_EO_API_SUPPORT as desired
  */
 #ifndef EFL_API_OVERRIDE
+
 #cmakedefine EFL_API_LEGACY_DEF
 #cmakedefine EFL_EO_API_SUPPORT
+#cmakedefine EFL_BETA_API_SUPPORT
 /* You can't disable Eo API anymore as EFL use it everywhere internally
    and we don't want to expose it publicly just yet, so keep it hidden
    and require an explicit request to get it. */