build: update vcpkg install command to new form
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
6139428207
commit
11a6068a03
|
@ -502,7 +502,7 @@ function(vcpkg_set_toolchain)
|
|||
|
||||
# Install core deps.
|
||||
execute_process(
|
||||
COMMAND ${vcpkg_exe} install ${VCPKG_DEPS_QUALIFIED}
|
||||
COMMAND ${vcpkg_exe} --triplet ${VCPKG_TARGET_TRIPLET} install ${pkg}
|
||||
WORKING_DIRECTORY ${VCPKG_ROOT}
|
||||
)
|
||||
|
||||
|
@ -544,7 +544,7 @@ function(vcpkg_set_toolchain)
|
|||
set(dep_qualified "${dep}:${VCPKG_TARGET_TRIPLET}")
|
||||
|
||||
execute_process(
|
||||
COMMAND ${vcpkg_exe} install ${dep_qualified}
|
||||
COMMAND --triplet ${VCPKG_TARGET_TRIPLET} ${vcpkg_exe} install ${dep}
|
||||
WORKING_DIRECTORY ${VCPKG_ROOT}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue