diff options
| -rw-r--r-- | docs/maintainers/vcpkg_check_linkage.md | 2 | ||||
| -rw-r--r-- | scripts/cmake/vcpkg_check_linkage.cmake | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/maintainers/vcpkg_check_linkage.md b/docs/maintainers/vcpkg_check_linkage.md index f9c149b68..66760675e 100644 --- a/docs/maintainers/vcpkg_check_linkage.md +++ b/docs/maintainers/vcpkg_check_linkage.md @@ -14,6 +14,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. 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.
|
