Skip to content

Commit c25f90c

Browse files
committed
Add equivalent flag to CMakeLists.txt.
1 parent 94b397e commit c25f90c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CoreFoundation/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,12 @@ target_compile_options(CoreFoundation
363363
-fconstant-cfstrings
364364
-fdollars-in-identifiers
365365
-fexceptions)
366+
if(CF_DEPLOYMENT_SWIFT)
367+
target_compile_options(CoreFoundation
368+
PRIVATE
369+
-fcf-runtime-abi=swift)
370+
endif()
371+
366372
target_compile_options(CoreFoundation
367373
PRIVATE
368374
-Wno-shorten-64-to-32

0 commit comments

Comments
 (0)