Skip to content

Commit a249e7f

Browse files
committed
CMake Embedded Stdlib: mark ExecutorImpl.cpp as optional
This is needed for internal Apple configurations that build the Embedded Stdlib on its own. Addresses rdar://149410405
1 parent aaec5aa commit a249e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB AND SWIFT_SHOULD_BUILD_EMBEDDED_CONCURRENC
265265
set(SWIFT_STDLIB_CONCURRENCY_TRACING FALSE)
266266
set(SWIFT_STDLIB_HAS_ENVIRON FALSE)
267267
set(SWIFT_STDLIB_HAS_ASL FALSE)
268+
list(APPEND LLVM_OPTIONAL_SOURCES ExecutorImpl.cpp)
268269

269270
foreach(entry ${EMBEDDED_STDLIB_TARGET_TRIPLES})
270271
string(REGEX REPLACE "[ \t]+" ";" list "${entry}")

0 commit comments

Comments
 (0)