We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5493eca commit 59ad399Copy full SHA for 59ad399
cmake/build-info.cmake
@@ -44,7 +44,7 @@ if(MSVC)
44
set(BUILD_TARGET ${CMAKE_VS_PLATFORM_NAME})
45
else()
46
execute_process(
47
- COMMAND sh -c "$@ --version | head -1" _ ${CMAKE_C_COMPILER}
+ COMMAND sh -c "\"$@\" --version | head -1" _ ${CMAKE_C_COMPILER}
48
OUTPUT_VARIABLE OUT
49
OUTPUT_STRIP_TRAILING_WHITESPACE
50
)
0 commit comments