mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
This should fix compilation on MacOSX
This commit is contained in:
parent
d332a83ef0
commit
72be524f01
1 changed files with 7 additions and 0 deletions
|
|
@ -201,6 +201,13 @@ if(ENABLE_STATIC)
|
|||
endif()
|
||||
if(ENABLE_SHARED)
|
||||
add_library(linphone SHARED ${LINPHONE_HEADER_FILES} ${LINPHONE_SOURCE_FILES_C} ${LINPHONE_SOURCE_FILES_CXX} ${LINPHONE_SOURCE_FILES_OBJC})
|
||||
|
||||
if(BELCARD_FOUND)
|
||||
if(APPLE)
|
||||
set_target_properties(linphone PROPERTIES LINKER_FLAGS "-stdlib=libc++")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set_target_properties(linphone PROPERTIES VERSION ${LINPHONE_SO_VERSION} LINKER_LANGUAGE CXX)
|
||||
add_dependencies(linphone liblinphone-git-version)
|
||||
target_link_libraries(linphone ${LIBS})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue