Skip to content

Commit 5d1b73d

Browse files
committed
Disable _StringProcessing import in _CompilerPluginSupport (take 2)
Reduce dependencies for rdar://102207474. Amends the incomplete patch in swiftlang#62042.
1 parent f63de71 commit 5d1b73d

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)