build(cmake): fix vcpkg dependency installation

This commit is contained in:
Oleg Shparber 2023-09-10 16:30:46 -04:00
parent ef763c461e
commit 9fc1d6ca7e
2 changed files with 2 additions and 5 deletions

View File

@ -38,7 +38,8 @@
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
"X_VCPKG_APPLOCAL_DEPS_INSTALL": "ON"
}
},
{

View File

@ -80,10 +80,6 @@ if(APPLE)
elseif(WIN32)
install(TARGETS App RUNTIME DESTINATION .)
# Install shared libraries, when building with Vcpkg.
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
if(use_qt_cmake_commands)
# Install Qt runtime dependencies.
install(SCRIPT ${qt_deploy_script})