File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ project(SwiftOverlay
22
22
LANGUAGES C CXX Swift
23
23
VERSION 6.1.0${BUILD_NUMBER} )
24
24
25
+ find_package (SwiftCore )
26
+
25
27
# FIXME: We should not need to refer back into the compiler sources. This is
26
28
# needed by gyb and AvailabilityMacros
27
29
set (SwiftOverlay_SWIFTC_SOURCE_DIR
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ target_compile_definitions(swiftCRT PRIVATE
13
13
$< $< BOOL:${SwiftOverlay_ENABLE_REFLECTION} > :SWIFT_ENABLE_REFLECTION> )
14
14
target_compile_options (swiftCRT PRIVATE
15
15
"SHELL:-Xcc -D_USE_MATH_DEFINES" )
16
+ target_link_libraries (swiftCRT PRIVATE
17
+ swiftCore )
16
18
17
19
install (TARGETS swiftCRT
18
20
ARCHIVE DESTINATION "${SwiftOverlay_INSTALL_LIBDIR} "
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ set_target_properties(swiftWinSDK PROPERTIES
5
5
Swift_MODULE_NAME WinSDK )
6
6
target_compile_definitions (swiftCRT PRIVATE
7
7
$< $< BOOL:${SwiftOverlay_ENABLE_REFLECTION} > :SWIFT_ENABLE_REFLECTION> )
8
+ target_link_libraries (swiftWinSDK PRIVATE
9
+ swiftCore )
8
10
9
11
install (TARGETS swiftWinSDK
10
12
ARCHIVE DESTINATION "${SwiftOverlay_INSTALL_LIBDIR} "
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ set_target_properties(swift_Builtin_float PROPERTIES
8
8
Swift_MODULE_NAME _Builtin_float )
9
9
target_compile_options (swift_Builtin_float PRIVATE
10
10
"$<$<PLATFORM_ID:Darwin>:SHELL:-Xfrontend -module-abi-name -Xfrontend Darwin>" )
11
+ target_link_libraries (swift_Builtin_float PRIVATE
12
+ swiftCore )
11
13
12
14
install (TARGETS swift_Builtin_float
13
15
ARCHIVE DESTINATION "${SwiftOverlay_INSTALL_LIBDIR} "
You can’t perform that action at this time.
0 commit comments