mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-29 23:26:23 +00:00
Fixed last issue with cmake build on MacOSX when targeting < 10.9
This commit is contained in:
parent
fbff58c0da
commit
e2aeb4b9b2
1 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ if(BELCARD_FOUND)
|
||||||
list(APPEND LIBS ${BELCARD_LIBRARIES})
|
list(APPEND LIBS ${BELCARD_LIBRARIES})
|
||||||
list(APPEND LINPHONE_SOURCE_FILES_CXX vcard.cc)
|
list(APPEND LINPHONE_SOURCE_FILES_CXX vcard.cc)
|
||||||
list(APPEND STRICT_OPTIONS_CXX "-std=c++11")
|
list(APPEND STRICT_OPTIONS_CXX "-std=c++11")
|
||||||
|
if(APPLE)
|
||||||
|
list(APPEND STRICT_OPTIONS_CXX "-stdlib=libc++")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
list(APPEND LINPHONE_SOURCE_FILES_C vcard_stubs.c)
|
list(APPEND LINPHONE_SOURCE_FILES_C vcard_stubs.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue