We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d233d6 + 8576fe9 commit 2b59c0cCopy full SHA for 2b59c0c
1 file changed
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