Skip to content

Commit 127874e

Browse files
authored
Merge pull request #40124 from compnerd/root
build: allow building libswift with unified builds
2 parents af49465 + f57c167 commit 127874e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ function(add_libswift name)
786786
"-emit-module-path" "${build_dir}/${module}.swiftmodule"
787787
"-parse-as-library" ${sources}
788788
"-wmo" ${libswift_compile_options}
789-
"-I" "${CMAKE_SOURCE_DIR}/include/swift"
789+
"-I" "${SWIFT_SOURCE_DIR}/include/swift"
790790
"-I" "${build_dir}"
791791
COMMENT "Building libswift module ${module}")
792792

0 commit comments

Comments
 (0)