fix permisions for launchers

This commit is contained in:
Andrei Yankovich 2023-04-15 13:53:52 +02:00
parent 6664d65e9f
commit cb6a7ba3db

View File

@ -28,6 +28,11 @@ if(CCACHE_PROGRAM)
configure_file("${CC_LAUNCHER}.in" "${CC_LAUNCHER}")
configure_file("${CXX_LAUNCHER}.in" "${CXX_LAUNCHER}")
execute_process(COMMAND chmod +x
"${CC_LAUNCHER}"
"${CXX_LAUNCHER}"
)
# Set Xcode project attributes to route compilation and linking
# through our scripts
set(CMAKE_XCODE_ATTRIBUTE_CC ${CC_LAUNCHER} CACHE INTERNAL "override CMAKE_XCODE_ATTRIBUTE_CC" )