We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c18fac + cdb8ae3 commit 2afc46dCopy full SHA for 2afc46d
cmake/modules/SwiftCompilerCapability.cmake
@@ -14,8 +14,7 @@
14
function(swift_supports_compiler_arguments out_var)
15
file(WRITE "${CMAKE_BINARY_DIR}/tmp/dummy.swift" "")
16
execute_process(
17
- COMMAND "${CMAKE_Swift_COMPILER}" -parse ${ARGN} -
18
- INPUT_FILE "${CMAKE_BINARY_DIR}/tmp/dummy.swift"
+ COMMAND "${CMAKE_Swift_COMPILER}" -parse ${ARGN} "${CMAKE_BINARY_DIR}/tmp/dummy.swift"
19
OUTPUT_QUIET ERROR_QUIET
20
RESULT_VARIABLE result
21
)
0 commit comments