diff options
| -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() |
