From 7aa53de9f2c0f4470ac36d2895648116f73193b5 Mon Sep 17 00:00:00 2001 From: Pepper0ni <93387759+Pepper0ni@users.noreply.github.com> Date: Wed, 14 Oct 2026 20:02:34 +0100 Subject: [PATCH] Try to fix windows builds (#7397) --- CMake/automate-vcpkg.cmake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMake/automate-vcpkg.cmake b/CMake/automate-vcpkg.cmake index 4091949594..238b9ddcd0 100644 --- a/CMake/automate-vcpkg.cmake +++ b/CMake/automate-vcpkg.cmake @@ -82,11 +82,7 @@ if (WIN32) endif() if(NOT DEFINED VCPKG_ROOT) - if(NOT DEFINED ENV{VCPKG_ROOT}) - set(VCPKG_ROOT ${VCPKG_FALLBACK_ROOT}) - else() - set(VCPKG_ROOT $ENV{VCPKG_ROOT}) - endif() + set(VCPKG_ROOT ${VCPKG_FALLBACK_ROOT}) endif() # Installs a new copy of Vcpkg or updates an existing one