fix ios build with system stl
@@ -19,8 +19,8 @@ IF (USE_STL_SYSTEM)
DECLARE_EXTERNAL_RESOURCE(XCODE_TOOLCHAIN_ROOT sbr:498971125)
IF (OS_IOS)
CFLAGS(
- GLOBAL -isystem GLOBAL $XCODE_TOOLCHAIN_ROOT_RESOURCE_GLOBAL/usr/include/c++/v1
- GLOBAL -isystem GLOBAL $XCODE_TOOLCHAIN_ROOT_RESOURCE_GLOBAL/usr/include
+ GLOBAL -cxx-isystem GLOBAL $XCODE_TOOLCHAIN_ROOT_RESOURCE_GLOBAL/usr/include/c++/v1
+ GLOBAL -cxx-isystem GLOBAL $XCODE_TOOLCHAIN_ROOT_RESOURCE_GLOBAL/usr/include
)
ENDIF()
ENDIF()
