diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/ios/iPhoneDeviceCMakeToolchain | 1 | ||||
-rw-r--r-- | packaging/ios/iPhoneSimulatorCMakeToolchain | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/packaging/ios/iPhoneDeviceCMakeToolchain b/packaging/ios/iPhoneDeviceCMakeToolchain index 35d8b8923..fb233fd10 100644 --- a/packaging/ios/iPhoneDeviceCMakeToolchain +++ b/packaging/ios/iPhoneDeviceCMakeToolchain @@ -4,6 +4,7 @@ SET (CMAKE_CROSSCOMPILING TRUE) SET (CMAKE_SYSTEM_NAME "Darwin") SET (CMAKE_SYSTEM_PROCESSOR "arm") SET (CMAKE_OSX_SYSROOT "$ENV{PLATFORM_DIR}") +SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") SET (CMAKE_C_COMPILER $ENV{CC}) SET (CMAKE_CXX_COMPILER $ENV{CXX}) diff --git a/packaging/ios/iPhoneSimulatorCMakeToolchain b/packaging/ios/iPhoneSimulatorCMakeToolchain index 0d3cc40a4..6c428d2d6 100644 --- a/packaging/ios/iPhoneSimulatorCMakeToolchain +++ b/packaging/ios/iPhoneSimulatorCMakeToolchain @@ -4,6 +4,7 @@ SET (CMAKE_CROSSCOMPILING TRUE) SET (CMAKE_SYSTEM_NAME "Darwin") SET (CMAKE_SYSTEM_PROCESSOR "i386") SET (CMAKE_OSX_SYSROOT "$ENV{PLATFORM_DIR}") +SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") SET (CMAKE_C_COMPILER $ENV{CC}) SET (CMAKE_CXX_COMPILER $ENV{CXX}) |