From 952993272b4b3c77721019b729983e402a57f889 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Fri, 8 Nov 2024 10:05:43 -0800 Subject: [PATCH] cmake: Specify full path in `execute_process` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 864be18..f7a933c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()