File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -294,14 +294,17 @@ target_compile_options(swiftCore PRIVATE
294
294
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -group-info-path -Xfrontend ${CMAKE_CURRENT_SOURCE_DIR} /GroupInfo.json>"
295
295
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -disable-objc-attr-requires-foundation-module>"
296
296
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -require-explicit-availability=ignore>" )
297
-
298
297
if (NOT "${CMAKE_BUILD_TYPE} " STREQUAL "MinSizeRel" )
299
298
# Using these in MinSizeRel would result in a 15% increase in the binary size
300
299
target_compile_options (swiftCore PRIVATE
301
300
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xllvm -sil-inline-generics>"
302
301
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xllvm -sil-partial-specialization>" )
303
302
endif ()
304
303
304
+ # FIXME: Why is this not implicitly in the interface flags?
305
+ target_include_directories (swiftCore INTERFACE
306
+ "$<$<COMPILE_LANGUAGE:Swift>:$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} >$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${SwiftCore_INSTALL_SWIFTMODULEDIR} >>" )
307
+
305
308
target_link_libraries (swiftCore
306
309
PRIVATE
307
310
swiftRuntime
You can’t perform that action at this time.
0 commit comments