mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-07 04:46:06 +08:00
Prefer static linking for now, to bypass the deployment issues. We will switch to dynamic libraries once online installer deliver the vcpkg installed libraries. Change-Id: Iac9a888237742ae886df8fb9b742b45f4727e28a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
11 lines
279 B
CMake
11 lines
279 B
CMake
set(VCPKG_TARGET_ARCHITECTURE x64)
|
|
|
|
# Default settings of the triplet from the official vcpkg registry
|
|
set(VCPKG_CRT_LINKAGE dynamic)
|
|
set(VCPKG_LIBRARY_LINKAGE static)
|
|
|
|
# Qt custom per-port customizations
|
|
if(PORT MATCHES "openssl")
|
|
set(VCPKG_LIBRARY_LINKAGE dynamic)
|
|
endif()
|