gentoo-ebuilds/media-gfx/freecad/files/freecad-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
Miroslav Šulc 92bc45e1fa
media-gfx/freecad: updated ccache patch in live ebuild
Closes: https://bugs.gentoo.org/911409
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
2023-08-09 10:34:37 +02:00

11 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}")