From 8f20e31e180641f10d6e4e945b39e29991f75db8 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Mon, 19 Feb 2018 10:04:02 -0800 Subject: [PATCH] [vcpkg-docs-triplets.md] Update triplet docs to match the qt modularization --- docs/users/triplets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/users/triplets.md b/docs/users/triplets.md index 06f77e63fb4..eb83aeb1070 100644 --- a/docs/users/triplets.md +++ b/docs/users/triplets.md @@ -42,11 +42,11 @@ Example: ```cmake set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_CRT_LINKAGE dynamic) -if(PORT STREQUAL "qt5") +if(PORT MATCHES "qt5-") set(VCPKG_LIBRARY_LINKAGE dynamic) endif() ``` -This will build `qt5` as DLLs against the dynamic CRT, but every other library as a static library (still against the dynamic CRT). +This will build all the `qt5-*` libraries as DLLs against the dynamic CRT, but every other library as a static library (still against the dynamic CRT). For an example in a real project, see https://github.com/Intelight/vcpkg/blob/master/triplets/x86-windows-mixed.cmake.