File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Runtimes/Supplemental/Synchronization Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ set(${PROJECT_NAME}_VENDOR_MODULE_DIR "${CMAKE_SOURCE_DIR}/../cmake/modules/vend
40
40
CACHE FILEPATH "Location for private build system extension" )
41
41
42
42
find_package (SwiftCore REQUIRED )
43
+ find_package (SwiftOverlay )
43
44
44
45
include (GNUInstallDirs )
45
46
@@ -111,7 +112,8 @@ add_library(swiftSynchronization
111
112
112
113
# Determine Mutex definition
113
114
if (${PROJECT_NAME} _SINGLE_THREADED_MODE )
114
- target_sources (swiftSynchronization PRIVATE Mutex/MutexUnavailable.swift )
115
+ target_sources (swiftSynchronization PRIVATE
116
+ Mutex/MutexUnavailable.swift )
115
117
else ()
116
118
target_sources (swiftSynchronization PRIVATE
117
119
Mutex/Mutex.swift
@@ -126,6 +128,7 @@ set_target_properties(swiftSynchronization PROPERTIES
126
128
127
129
target_link_libraries (swiftSynchronization PRIVATE
128
130
swiftCore
131
+ $< $< PLATFORM_ID:Android> :SwiftAndroid>
129
132
$< $< PLATFORM_ID:Darwin> :swiftDarwin> )
130
133
131
134
install (TARGETS swiftSynchronization
Original file line number Diff line number Diff line change @@ -2424,6 +2424,7 @@ function Build-ExperimentalRuntime {
2424
2424
CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2425
2425
2426
2426
SwiftCore_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalRuntime) \cmake\SwiftCore" ;
2427
+ SwiftOverlay_DIR = " $ ( Get-ProjectBinaryCache $Platform ExperimentalOverlay) \cmake\SwiftOverlay" ;
2427
2428
}
2428
2429
}
2429
2430
}
You can’t perform that action at this time.
0 commit comments