Add option not to update vcpkg builds

Add option not to update vcpkg builds
This commit is contained in:
Andy Vandijck
2025-06-23 11:46:01 +02:00
parent 05f2cb7dea
commit 41895eea36

View File

@@ -499,7 +499,9 @@ function(vcpkg_set_toolchain)
WORKING_DIRECTORY ${VCPKG_ROOT}
)
get_binary_packages(${vcpkg_exe})
if (NOT NO_VCPKG_UPDATES)
get_binary_packages(${vcpkg_exe})
endif()
if(NOT binary_packages_installed)
# Get number of seconds since midnight (might be wrong if am/pm is in effect on Windows.)