Skip to content

Commit 73d1943

Browse files
authored
Merge pull request #3117 from compnerd/quoting
build: allow building on Linux without Swift_FLAGS
2 parents 6a6b505 + 02b4b6e commit 73d1943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Tools/plutil/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target_link_libraries(plutil PRIVATE
88
if(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows")
99
target_link_options(plutil PRIVATE "SHELL:-no-toolchain-stdlib-rpath")
1010

11-
string(REPLACE " " ";" ARGS_LIST ${CMAKE_Swift_FLAGS})
11+
string(REPLACE " " ";" ARGS_LIST "${CMAKE_Swift_FLAGS}")
1212
execute_process(
1313
COMMAND ${CMAKE_Swift_COMPILER} ${ARGS_LIST} -print-target-info
1414
OUTPUT_VARIABLE output

0 commit comments

Comments
 (0)