Skip to content

Commit 49b3377

Browse files
committed
Pass down the SWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS flag to the runtime build.
1 parent d42c806 commit 49b3377

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/runtime/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ if(SWIFT_RUNTIME_ENABLE_LEAK_CHECKER)
1818
set(swift_runtime_leaks_sources Leaks.mm)
1919
endif()
2020

21+
if(SWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS)
22+
list(APPEND swift_runtime_compile_flags
23+
"-DSWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS=1")
24+
endif()
25+
2126
set(section_magic_compile_flags ${swift_runtime_compile_flags})
2227

2328
list(APPEND swift_runtime_compile_flags

0 commit comments

Comments
 (0)