Add FREEECAD_USE_CCACHE cmake option
Defaults to ON except for conda compilation on windows
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
77805b5373
commit
1d7fb46f89
@@ -20,6 +20,11 @@ macro(InitializeFreeCADBuildOptions)
|
||||
else()
|
||||
option(FREECAD_USE_QT_FILEDIALOG "Use Qt's file dialog instead of the native one." ON)
|
||||
endif()
|
||||
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()
|
||||
|
||||
# == Win32 is default behaviour use the LibPack copied in Source tree ==========
|
||||
if(MSVC)
|
||||
|
||||
Reference in New Issue
Block a user