aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDraVee <caiooliveirafarias0@gmail.com>2025-10-29 13:09:40 +0100
committercrueter <crueter@eden-emu.dev>2025-10-29 13:09:40 +0100
commitcf9f78636a71113a623754a0feedc9ac6010a61d (patch)
tree24faa2ca2a1a4d415d045c38519eddd353cfee9b /CMakeLists.txt
parentae46778cc3e6b94177faa2e4bc72dc6edd9c5009 (diff)
[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 <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: DraVee <caiooliveirafarias0@gmail.com> Co-committed-by: DraVee <caiooliveirafarias0@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dda6979911..97a6386f02 100644
--- a/CMakeLists.txt
+++ b/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()