summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 12:17:05 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 12:36:50 -0200
commit3cc60ce5f388e7edfc2d07bbdf95d09a16b673b7 (patch)
treea9df5338145ef20060a2a419e016da0cb977fc87 /cmake
parent8dc853f2300ea70a9116325db773da22c6343c3c (diff)
downloadefl-3cc60ce5f388e7edfc2d07bbdf95d09a16b673b7.tar.gz
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config/common.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config/common.cmake b/cmake/config/common.cmake
index 41d480d2d0..a4257ebddb 100644
--- a/cmake/config/common.cmake
+++ b/cmake/config/common.cmake
@@ -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)