From 2237dc370422c3cf2b15407fe32eb21aef55e0ed Mon Sep 17 00:00:00 2001 From: Jacob Oursland Date: Sun, 3 Dec 2023 22:07:32 -0700 Subject: [PATCH] CMake: permit ccache with conda. --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e800f9d917..e161c3d529 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,11 +10,7 @@ if (POLICY CMP0072) set(OpenGL_GL_PREFERENCE LEGACY) endif(POLICY CMP0072) -if (BUILD_WITH_CONDA AND WIN32) - option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" OFF) -else() - option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON) -endif() +option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON) if(FREECAD_USE_CCACHE) find_program(CCACHE_PROGRAM ccache) #This check should occur before project()