cmake: we need to enable beta api support

otherwise we cannot build our own api...
This commit is contained in:
Marcel Hollerbach 2017-01-21 12:17:12 +01:00
parent fe1863e30d
commit 9f2a2f7968
2 changed files with 5 additions and 0 deletions

View 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)

View 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. */