[Pkg-voip-commits] [bctoolbox] 39/60: Do not build Apple framework for Mac OS X, only for iOS.

Bernhard Schmidt berni at moszumanska.debian.org
Sun Oct 15 22:42:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch debian/sid
in repository bctoolbox.

commit 4841d2a136e56f8bf72a6160f84da1531c543978
Author: Ghislain MARY <ghislain.mary at belledonne-communications.com>
Date:   Wed May 17 16:29:35 2017 +0200

    Do not build Apple framework for Mac OS X, only for iOS.
---
 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b56924e..21ca0a6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,7 +83,7 @@ endif()
 if(ENABLE_SHARED)
 	add_library(bctoolbox SHARED ${BCTOOLBOX_SOURCE_FILES} ${BCTOOLBOX_HEADER_FILES})
 	target_link_libraries(bctoolbox PRIVATE ${CMAKE_THREAD_LIBS_INIT})
-	if(APPLE)
+	if(IOS)
 		set_target_properties(bctoolbox PROPERTIES
 			FRAMEWORK TRUE
 			MACOSX_FRAMEWORK_IDENTIFIER com.belledonne-communications.bctoolbox
@@ -169,7 +169,7 @@ if(BCUNIT_FOUND)
 	if(ENABLE_SHARED)
 		target_include_directories(bctoolbox-tester PUBLIC ${BCUNIT_INCLUDE_DIRS})
 		target_link_libraries(bctoolbox-tester PRIVATE bctoolbox ${BCUNIT_LIBRARIES})
-		if(APPLE)
+		if(IOS)
 			set_target_properties(bctoolbox-tester PROPERTIES
 				FRAMEWORK TRUE
 				MACOSX_FRAMEWORK_IDENTIFIER com.belledonne-communications.bctoolbox-tester

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git



More information about the Pkg-voip-commits mailing list