From a4fbb024e808a640f1740d39e8d8ac418657c1c5 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Wed, 12 Nov 2025 01:39:30 -0300 Subject: [PATCH] CMake: include Signed-off-by: Caio Oliveira --- CMakeLists.txt | 3 ++- ...isableCCachePackage.cmake => DisableCCacheForPackage.cmake} | 0 externals/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) rename CMakeModules/{DisableCCachePackage.cmake => DisableCCacheForPackage.cmake} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index a46037e72f..c5ff425d99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,8 @@ if (YUZU_STATIC_BUILD) endif() endif() -# This will be used for CI packages, cause we need to build symbols +# This will mostly be used for CI packages, cause we need to build symbols +include(DisableCCacheForPackage) set(IS_DEBUG_BUILD OFF) if (CMAKE_BUILD_TYPE MATCHES "Debug|RelWithDebInfo") set(IS_DEBUG_BUILD ON) diff --git a/CMakeModules/DisableCCachePackage.cmake b/CMakeModules/DisableCCacheForPackage.cmake similarity index 100% rename from CMakeModules/DisableCCachePackage.cmake rename to CMakeModules/DisableCCacheForPackage.cmake diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index c27191be4a..b2a3dd4458 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -8,6 +8,7 @@ # otherwise we have to do weird shenanigans with library linking and stuff include(CPMUtil) +include(DisableCCacheForPackage) # Explicitly declare this option here to propagate to the oaknut CPM call option(DYNARMIC_TESTS "Build tests" ${BUILD_TESTING})