We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c662a91 + 3e42a0f commit 8777a87Copy full SHA for 8777a87
cmake/modules/AddSwift.cmake
@@ -363,7 +363,7 @@ function(_add_variant_c_compile_flags)
363
swift_android_libcxx_include_paths(CFLAGS_CXX_INCLUDES)
364
swift_android_include_for_arch("${CFLAGS_ARCH}" "${CFLAGS_ARCH}_INCLUDE")
365
foreach(path IN LISTS CFLAGS_CXX_INCLUDES ${CFLAGS_ARCH}_INCLUDE)
366
- list(APPEND result -isystem;${path})
+ list(APPEND result "SHELL:${CMAKE_INCLUDE_SYSTEM_FLAG_C}${path}")
367
endforeach()
368
list(APPEND result "-D__ANDROID_API__=${SWIFT_ANDROID_API_LEVEL}")
369
elseif(CFLAGS_SDK STREQUAL WINDOWS)
0 commit comments