Skip to content
Snippets Groups Projects
Verified Commit 5b8f50c8 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Added option OGS_DISABLE_CCACHE

parent 220714cd
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,7 @@ endif() ...@@ -30,6 +30,7 @@ endif()
option(OGS_USE_CONAN "Should Conan package manager be used?" ON) option(OGS_USE_CONAN "Should Conan package manager be used?" ON)
set(OGS_CONAN_BUILD "missing" CACHE STRING "Possible values: all, missing, \ set(OGS_CONAN_BUILD "missing" CACHE STRING "Possible values: all, missing, \
never or list of libs to build") never or list of libs to build")
option(OGS_DISABLE_CCACHE "Disables ccache compiler cache." OFF)
# Third-party libraries, names come from Conan package names # Third-party libraries, names come from Conan package names
set(OGS_LIBS set(OGS_LIBS
......
if(NOT CCACHE_TOOL_PATH) if(NOT CCACHE_TOOL_PATH OR OGS_DISABLE_CCACHE)
return() return()
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment