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 f4c0b89 + 9624932 commit 81078caCopy full SHA for 81078ca
cmake/modules/AddSwift.cmake
@@ -307,6 +307,11 @@ function(_add_variant_c_compile_flags)
307
list(APPEND result "\"${CMAKE_INCLUDE_FLAG_C}${path}\"")
308
endforeach()
309
list(APPEND result "-D__ANDROID_API__=${SWIFT_ANDROID_API_LEVEL}")
310
+ elseif(CFLAGS_SDK STREQUAL WINDOWS)
311
+ swift_windows_include_for_arch(${CFLAGS_ARCH} ${CFLAGS_ARCH}_INCLUDE)
312
+ foreach(path ${${CFLAGS_ARCH}_INCLUDE})
313
+ list(APPEND result "\"${CMAKE_INCLUDE_FLAG_C}${path}\"")
314
+ endforeach()
315
endif()
316
317
set("${CFLAGS_RESULT_VAR_NAME}" "${result}" PARENT_SCOPE)
0 commit comments