Add option not to update vcpkg builds
Add option not to update vcpkg builds
This commit is contained in:
parent
05f2cb7dea
commit
41895eea36
|
@ -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.)
|
||||||
|
|
Loading…
Reference in New Issue