From: Marcel Hollerbach Date: Sat, 21 Jan 2017 11:17:12 +0000 (+0100) Subject: cmake: we need to enable beta api support X-Git-Tag: upstream/1.20.0~2347 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f2a2f7968c0b7e036093945cdc035427b681809;p=platform%2Fupstream%2Fefl.git cmake: we need to enable beta api support otherwise we cannot build our own api... --- diff --git a/cmake/config/common.cmake b/cmake/config/common.cmake index adb0bce..4f01d13 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) 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) diff --git a/src/lib/efl/Efl_Config.h.cmake b/src/lib/efl/Efl_Config.h.cmake index f068588..3b356f0 100644 --- a/src/lib/efl/Efl_Config.h.cmake +++ b/src/lib/efl/Efl_Config.h.cmake @@ -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. */