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
1 changed files with 3 additions and 1 deletions

View File

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