linamh/media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
2025-05-05 10:23:40 +02:00

12 lines
381 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ else()
option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON)
endif()
-if(FREECAD_USE_CCACHE)
+if(OFF)
find_program(CCACHE_PROGRAM ccache) #This check should occur before project()
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")