Skip to content

Commit c5e4af9

Browse files
authored
Merge pull request #64545 from rintaro/cmake-pureswift-sanitizer-rdar107056349
[CMake] Add correct sanitizer options to pure Swift libs/tools
2 parents abe377c + d5565c9 commit c5e4af9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/AddPureSwift.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function(_add_host_swift_compile_options name)
6262
DEPLOYMENT_VERSION "${DEPLOYMENT_VERSION}")
6363

6464
target_compile_options(${name} PRIVATE $<$<COMPILE_LANGUAGE:Swift>:-target;${target}>)
65+
_add_host_variant_swift_sanitizer_flags(${name})
6566
endfunction()
6667

6768
# Add a new "pure" Swift host library.

0 commit comments

Comments
 (0)