CMAKE: Fix OSX CCache error

This commit is contained in:
mazmazz 2020-06-08 03:08:58 -04:00
parent efba50c83c
commit f3c1db0650
1 changed files with 2 additions and 2 deletions

View File

@ -530,8 +530,8 @@ if (${CMAKE_SYSTEM} MATCHES "Darwin")
if(RULE_LAUNCH_COMPILE) if(RULE_LAUNCH_COMPILE)
MESSAGE(STATUS "Force enabling CCache usage under macOS") MESSAGE(STATUS "Force enabling CCache usage under macOS")
# Set up wrapper scripts # Set up wrapper scripts
configure_file(${CMAKE_MODULE_PATH}/launch-c.in launch-c) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../launch-c.in launch-c)
configure_file(${CMAKE_MODULE_PATH}/launch-cxx.in launch-cxx) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../launch-cxx.in launch-cxx)
execute_process(COMMAND chmod a+rx execute_process(COMMAND chmod a+rx
"${CMAKE_BINARY_DIR}/launch-c" "${CMAKE_BINARY_DIR}/launch-c"
"${CMAKE_BINARY_DIR}/launch-cxx") "${CMAKE_BINARY_DIR}/launch-cxx")