[cmake] if CCACHE is set but not found, make it fatal (#2885)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2885
Reviewed-by: Lizzie <[email protected]>
Reviewed-by: MaranBr <[email protected]>
Co-authored-by: DraVee <[email protected]>
Co-committed-by: DraVee <[email protected]>
This commit is contained in:
DraVee authored and crueter committed 2025-10-29 13:09:40 +01:00
1 parent ae46778cc3
commit cf9f78636a
1 file changed
+1 -1
+1 -1
View File
@@ -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()