CMAKE: Fix OSX CCache error
This commit is contained in:
parent
efba50c83c
commit
f3c1db0650
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue