Browse Source

[cmake] for some crazy reason, this breaks build if CCACHE is set but not found

* make it fatal then
pull/2885/head
DraVee 3 months ago
parent
commit
d823ff9c11
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -231,7 +231,7 @@ if(USE_CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_BINARY})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_BINARY})
else()
message(WARNING "USE_CCACHE enabled, but no executable found at: ${CCACHE_PATH}")
message(FATAL_ERROR "USE_CCACHE enabled, but no executable found at: ${CCACHE_PATH}")
endif()
endif()

Loading…
Cancel
Save