From e2aeb4b9b2df2db77b9a9a65a18cc8bbcde1266c Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 4 Mar 2016 15:06:06 +0100 Subject: [PATCH] Fixed last issue with cmake build on MacOSX when targeting < 10.9 --- coreapi/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index 77d1fb710..d299db60c 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -178,6 +178,9 @@ if(BELCARD_FOUND) list(APPEND LIBS ${BELCARD_LIBRARIES}) list(APPEND LINPHONE_SOURCE_FILES_CXX vcard.cc) list(APPEND STRICT_OPTIONS_CXX "-std=c++11") + if(APPLE) + list(APPEND STRICT_OPTIONS_CXX "-stdlib=libc++") + endif() else() list(APPEND LINPHONE_SOURCE_FILES_C vcard_stubs.c) endif()