Skip to content

Commit

Permalink
cmake: Specify full path in execute_process
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyjf committed Nov 8, 2024
1 parent 889b866 commit 9529932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(NOT CMAKE_CXX_COMPILER)
# modules. Apple's Clang does not currently support the standard version
# of modules.
execute_process(
COMMAND "src/meta/print-compiler.sh"
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/src/meta/print-compiler.sh"
OUTPUT_VARIABLE CMAKE_CXX_COMPILER)
endif()

Expand Down

0 comments on commit 9529932

Please sign in to comment.