From 6ded1d490d63841a76ec6fb3643d0d059a19a35f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 17 May 2017 16:32:32 +0200 Subject: [PATCH] Do not build Apple framework for Mac OS X, only for iOS. --- coreapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index a4bdeb580..9a88be283 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -223,7 +223,7 @@ if(ENABLE_STATIC) endif() if(ENABLE_SHARED) add_library(linphone SHARED ${LINPHONE_HEADER_FILES} ${LINPHONE_PRIVATE_HEADER_FILES} ${LINPHONE_SOURCE_FILES_C} ${LINPHONE_SOURCE_FILES_CXX} ${LINPHONE_SOURCE_FILES_OBJC}) - if(APPLE) + if(IOS) set_target_properties(linphone PROPERTIES FRAMEWORK TRUE MACOSX_FRAMEWORK_IDENTIFIER com.belledonne-communications.linphone