mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
e0a9559a9b
* Don't use external ZLIB_DLL * Update versions * [minizip] Bump to zlib version * Update versions * [libkml] Fix mingw build * [libkml] Modernize * [libkml] Fix minizip dependency * [libkml] No DLL * Update versions * [libkml] Update mingw patch * Update versions * Update versions * [zlib] Update to 1.2.13 This picks up the official fix for CVE-2022-37434. * Cherry pick installing the correct license from https://github.com/microsoft/vcpkg/pull/27242/ * Update version database. * More version database. * Also update minizip. * Also guard ZLIB_DLL properties for BUILD_SHARED_LIBS. * Version database. * Fix minizip usage. Co-authored-by: Kai Pastor <dg0yt@darc.de>
18 lines
546 B
Diff
18 lines
546 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b412dc7..f46c8e6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -194,6 +194,7 @@ endif()
|
|
# Example binaries
|
|
#============================================================================
|
|
|
|
+if (0)
|
|
add_executable(example test/example.c)
|
|
target_link_libraries(example zlib)
|
|
add_test(example example)
|
|
@@ -211,3 +212,4 @@ if(HAVE_OFF64_T)
|
|
target_link_libraries(minigzip64 zlib)
|
|
set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
|
|
endif()
|
|
+endif()
|