diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-03 12:09:23 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-03 12:09:23 -0700 |
| commit | f67609acf1ebe1b4ce53e4128eee67e9fa13612c (patch) | |
| tree | 7f27eb619e4fc77b87872ad8c84580befb18fae9 | |
| parent | b19ac6f094c9a72833f3184ba3c4ae6cf3169834 (diff) | |
| download | vcpkg-f67609acf1ebe1b4ce53e4128eee67e9fa13612c.tar.gz vcpkg-f67609acf1ebe1b4ce53e4128eee67e9fa13612c.zip | |
[zlib] Add comment about zlib building both static and dynamic
| -rw-r--r-- | ports/zlib/portfile.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/zlib/portfile.cmake b/ports/zlib/portfile.cmake index 35ca5ff6d..1d6d807d4 100644 --- a/ports/zlib/portfile.cmake +++ b/ports/zlib/portfile.cmake @@ -18,6 +18,7 @@ vcpkg_configure_cmake( vcpkg_install_cmake() +# Both dynamic and static are built, so keep only the one needed if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib) else() |
