From cb6a7ba3db04949f00bc3c087dc9644f9e54b655 Mon Sep 17 00:00:00 2001 From: EndrII Date: Sat, 15 Apr 2023 13:53:52 +0200 Subject: [PATCH] fix permisions for launchers --- ccache.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ccache.cmake b/ccache.cmake index 579052b..e640968 100644 --- a/ccache.cmake +++ b/ccache.cmake @@ -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" )