forked from enlightenment/efl
cmake: sync EFL_EO_API_SUPPORT definition with autotools.
in autotools we always define that symbol in config.h (thus now done in common.cmake), while the Efl_Config.h that is generated never have it, what's left is to enable/disable the legacy and beta APIs. This fixes building eldbus_suite with cmake.
This commit is contained in:
parent
8dc853f230
commit
3cc60ce5f3
|
@ -101,6 +101,7 @@ TYPE_CHECK(siginfo_t INCLUDE_FILES signal.h)
|
|||
# or is pkg-config enough these days?
|
||||
pkg_check_modules(UNWIND libunwind libunwind-generic)
|
||||
|
||||
CHECK_APPEND_DEFINE(EFL_EO_API_SUPPORT 1)
|
||||
CHECK_APPEND_DEFINE(EFL_BETA_API_SUPPORT 1)
|
||||
if(CMAKE_THREAD_LIBS_INIT)
|
||||
set(EFL_HAVE_THREADS 1)
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
#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. */
|
||||
/* #define EFL_EO_API_SUPPORT */
|
||||
#endif
|
||||
|
||||
#define EFL_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
|
||||
|
|
Loading…
Reference in New Issue