1
0
mirror of https://github.com/madler/zlib.git synced 2026-10-24 02:48:53 +03:00

CMake: Correct target to minizip.

This commit is contained in:
Vollstrecker
2024-12-24 21:43:52 +01:00
committed by Mark Adler
parent d3ab1df503
commit 27198174ca

View File

@@ -22,7 +22,7 @@ if(ZLIB_BUILD_SHARED)
COMMAND zlib_example)
add_executable(minigzip minigzip.c)
target_compile_definitions(zlib
target_compile_definitions(minigzip
PRIVATE
$<$<BOOL:${HAVE___ATTR__VIS_HIDDEN}>:HAVE_HIDDEN>)
target_link_libraries(minigzip ZLIB::ZLIB)