diff options
Diffstat (limited to 'packaging/ios/iPhoneDeviceCMakeToolchain')
-rw-r--r-- | packaging/ios/iPhoneDeviceCMakeToolchain | 1 |
1 files changed, 1 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}) |