diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/users/triplets.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users/triplets.md b/docs/users/triplets.md index 06f77e63f..eb83aeb10 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. |
