From d4da848f4bbd0c5d40e475f2949cbc8fe7299b2f Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Fri, 2 Jan 2026 19:02:42 +0000 Subject: [PATCH] Don't set /MP when using ccache This *should* make no difference as we already do things that mean ccache only gets told about one TU at once (e.g. using Ninja, or enabling UseMultiToolTask), but at the minimum, it's misleading to have this enabled when we know we're not using it. --- CI/before_script.msvc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index e99b51b95d..944ddba567 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -730,7 +730,9 @@ echo cd $DEPS_INSTALL/.. echo echo "Setting up OpenMW build..." -add_cmake_opts -DOPENMW_MP_BUILD=on +if [[ -z "$USE_CCACHE" ]]; then + add_cmake_opts -DOPENMW_MP_BUILD=on +fi add_cmake_opts -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" add_cmake_opts -DOPENMW_USE_SYSTEM_SQLITE3=OFF add_cmake_opts -DOPENMW_USE_SYSTEM_YAML_CPP=OFF