mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 07:13:11 +08:00
[zlib] Add comment about zlib building both static and dynamic
This commit is contained in:
parent
b19ac6f094
commit
f67609acf1
@ -18,6 +18,7 @@ vcpkg_configure_cmake(
|
|||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
|
# Both dynamic and static are built, so keep only the one needed
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib)
|
file(REMOVE ${CURRENT_PACKAGES_DIR}/lib/zlibstatic.lib ${CURRENT_PACKAGES_DIR}/debug/lib/zlibstaticd.lib)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user