aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCharlie Barto <chbarto@microsoft.com>2021-01-28 19:45:59 -0800
committerGitHub <noreply@github.com>2021-01-28 19:45:59 -0800
commit865de0c130f3d34174ac7a410789df3c44a27fd2 (patch)
treeb270702edb62a58a8e3ba9d4ec0d558d82f5a037 /scripts
parent0e3198878b8666812b437eb075f1296b2dff67e8 (diff)
downloadvcpkg-865de0c130f3d34174ac7a410789df3c44a27fd2.tar.gz
vcpkg-865de0c130f3d34174ac7a410789df3c44a27fd2.zip
clarify the actions of vcpkg_check_linkage (#15832)
Co-authored-by: Charles Barto <barto.charlie@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_check_linkage.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_check_linkage.cmake b/scripts/cmake/vcpkg_check_linkage.cmake
index 9a8a7acb0..97e29bad7 100644
--- a/scripts/cmake/vcpkg_check_linkage.cmake
+++ b/scripts/cmake/vcpkg_check_linkage.cmake
@@ -15,6 +15,8 @@ vcpkg_check_linkage(
### ONLY_STATIC_LIBRARY
Indicates that this port can only be built with static library linkage.
+Note: If the user requested a dynamic build ONLY_STATIC_LIBRARY will result in a note being printed, not a fatal error.
+
### ONLY_DYNAMIC_LIBRARY
Indicates that this port can only be built with dynamic/shared library linkage.