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})