CMake: fix zlibstatic on Linux issue

This commit is contained in:
Syping 2024-03-06 16:42:53 +01:00
parent d0139afd26
commit c8239e2517

View file

@ -99,7 +99,7 @@ set(DPP_LIBRARIES
crypto crypto
"-L${ZLIB_INSTALL_DIR}/lib" "-L${ZLIB_INSTALL_DIR}/lib"
"-L${ZLIB_INSTALL_DIR}/lib64" "-L${ZLIB_INSTALL_DIR}/lib64"
$<IF:$<BOOL:WIN32>,zlibstatic,z> $<IF:$<BOOL:${WIN32}>,zlibstatic,z>
-Wl,-Bdynamic -Wl,-Bdynamic
) )
if (WIN32) if (WIN32)