From 58c9d50970a769ff75c343cff9dfc17f2a62c861 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 26 Jul 2017 13:31:31 +0200 Subject: [PATCH] chore(coreapi/CMakeLists.txt): compile new cpp object base --- CMakeLists.txt | 5 +++-- coreapi/CMakeLists.txt | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c73aef0ba..e4ac40ba1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -198,10 +198,11 @@ endif() # include_directories must be called only UNDER THIS LINE in order to use our # projects submodules first (we do NOT want to have system headers in first position) include_directories( - include/ - coreapi/ ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/coreapi/ + coreapi/ + include/ + src/ ) set(LINPHONE_INCLUDE_DIRS ${BELLESIP_INCLUDE_DIRS} diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index 6bd7665a8..4dd144b9d 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -35,6 +35,9 @@ endif() set(LINPHONE_PRIVATE_HEADER_FILES + ../src/object/object.h + ../src/object/singleton.h + ../src/utils/general.h bellesip_sal/sal_impl.h carddav.h conference_private.h @@ -232,7 +235,7 @@ if(ENABLE_SHARED) MACOSX_FRAMEWORK_IDENTIFIER org.linphone.linphone MACOSX_FRAMEWORK_INFO_PLIST Info.plist.in PUBLIC_HEADER "${LINPHONE_HEADER_FILES}" - ) + ) endif() if(BELCARD_FOUND) if(APPLE)