@@ -39,7 +39,7 @@ function(add_swift_compiler_module module)
39
39
get_property (modules GLOBAL PROPERTY swift_compiler_modules )
40
40
set_property (GLOBAL PROPERTY swift_compiler_modules ${modules} ${module} )
41
41
endfunction ()
42
-
42
+
43
43
# Add source files to a swift compiler module.
44
44
#
45
45
function (swift_compiler_sources module )
@@ -273,9 +273,9 @@ else()
273
273
"
274
274
#define COMPILED_WITH_SWIFT
275
275
276
- #include \" Basic/BasicBridging.h\"
277
- #include \" SIL/SILBridging.h\"
278
- #include \" SILOptimizer/OptimizerBridging.h\"
276
+ #include \" swift/ Basic/BasicBridging.h\"
277
+ #include \" swift/ SIL/SILBridging.h\"
278
+ #include \" swift/ SILOptimizer/OptimizerBridging.h\"
279
279
" )
280
280
add_custom_command (
281
281
OUTPUT "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp"
@@ -287,9 +287,8 @@ else()
287
287
288
288
# step 2: build a library containing that source file. This library depends on all the included header files.
289
289
# The swift modules can now depend on that target.
290
- # Note that this library is unused, i.e. not linked to anything.
290
+ # Note that this library is unused, i.e. not linked to anything.
291
291
add_library (importedHeaderDependencies "${CMAKE_CURRENT_BINARY_DIR} /HeaderDependencies.cpp" )
292
- target_include_directories (importedHeaderDependencies PRIVATE "${CMAKE_CURRENT_SOURCE_DIR} /../include/swift" )
293
292
294
293
# When building unified, we need to make sure all the Clang headers are
295
294
# generated before we try to use them.
0 commit comments