File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ if(ENABLE_TESTING)
9595
9696 find_package (Python3 COMPONENTS Interpreter REQUIRED)
9797
98+ string (REPLACE "\\ " "\\\\ " CMAKE_Swift_FLAGS_ESCAPED ${CMAKE_Swift_FLAGS} )
9899 add_custom_target (check-xctest
99100 COMMAND
100101 ${CMAKE_COMMAND} -E env
@@ -104,7 +105,7 @@ if(ENABLE_TESTING)
104105 LIBDISPATCH_BUILD_DIR=${XCTEST_PATH_TO_LIBDISPATCH_BUILD}
105106 LIBDISPATCH_OVERLAY_DIR=${XCTEST_PATH_TO_LIBDISPATCH_BUILD} /src/swift
106107 SWIFT_EXEC=${CMAKE_Swift_COMPILER}
107- SWIFT_FLAGS=${CMAKE_Swift_FLAGS }
108+ SWIFT_FLAGS=${CMAKE_Swift_FLAGS_ESCAPED }
108109 $<TARGET_FILE:Python3::Interpreter> ${LIT_COMMAND} -sv ${CMAKE_SOURCE_DIR} /Tests/Functional
109110 COMMENT
110111 "Running XCTest functional test suite"
You can’t perform that action at this time.
0 commit comments