Skip to content

Commit cbd9e6c

Browse files
authored
Merge pull request #62155 from rxwei/amend-62042
Disable _StringProcessing import in _CompilerPluginSupport (take 2)
2 parents a5e8381 + 5d1b73d commit cbd9e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/CompilerPluginSupport/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ if(SWIFT_SWIFT_PARSER)
7272
RESULT_VARIABLE
7373
SWIFT_SUPPORTS_DISABLE_IMPLICIT_STRING_PROCESSING_MODULE_IMPORT)
7474
if(NOT SWIFT_SUPPORTS_DISABLE_IMPLICIT_STRING_PROCESSING_MODULE_IMPORT)
75-
add_compile_options(
75+
target_compile_options("${library_name}" PRIVATE
7676
$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend>
7777
$<$<COMPILE_LANGUAGE:Swift>:-disable-implicit-string-processing-module-import>)
7878
endif()

0 commit comments

Comments
 (0)