Skip to content

Commit 968f086

Browse files
authored
Merge pull request #85810 from etcwilde/ewilde/fix-synchronization-sources
CMake: Synchronization Source Lists
2 parents 5d4494d + 394e907 commit 968f086

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Runtimes/Supplemental/Synchronization/CMakeLists.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,18 @@ if(${PROJECT_NAME}_SINGLE_THREADED_MODE)
138138
else()
139139
target_sources(swiftSynchronization PRIVATE
140140
Mutex/Mutex.swift
141+
# Apple Sources
141142
$<$<PLATFORM_ID:Darwin>:Mutex/DarwinImpl.swift>
143+
# Android and Linux Sources
142144
$<$<PLATFORM_ID:Android,Linux>:Mutex/LinuxImpl.swift>
143-
$<$<PLATFORM_ID:Android,WASI>:Mutex/SpinLoopHint.swift>
145+
$<$<PLATFORM_ID:Android,Linux>:Mutex/SpinLoopHint.swift>
146+
# FreeBSD Sources
147+
$<$<PLATFORM_ID:FreeBSD>:Mutex/FreeBSDImpl.swift>
148+
# OpenBSD Sources
149+
$<$<PLATFORM_ID:OpenBSD>:Mutex/OpenBSDImpl.swift>
150+
# Wasm Sources
151+
$<$<PLATFORM_ID:WASI>:Mutex/WasmImpl.swift>
152+
# Windows Sources
144153
$<$<PLATFORM_ID:Windows>:Mutex/WindowsImpl.swift>)
145154
endif()
146155

0 commit comments

Comments
 (0)