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.
1 parent 5e6d7ce commit 6ce6537Copy full SHA for 6ce6537
SwiftCompilerSources/CMakeLists.txt
@@ -158,6 +158,10 @@ function(add_swift_compiler_modules_library name)
158
"-emit-module-path" "${build_dir}/${module}.swiftmodule"
159
"-parse-as-library" ${sources}
160
"-wmo" ${swift_compile_options}
161
+ # LLVM modules and headers.
162
+ "-Xcc" "-I" "-Xcc" "${LLVM_MAIN_INCLUDE_DIR}"
163
+ # Generated LLVM headers.
164
+ "-Xcc" "-I" "-Xcc" "${LLVM_INCLUDE_DIR}"
165
# Bridging modules and headers.
166
"-Xcc" "-I" "-Xcc" "${SWIFT_SOURCE_DIR}/include"
167
# Generated C headers.
0 commit comments