Commit 29a8aa14 authored by Ghislain MARY's avatar Ghislain MARY

Fix static library name on Windows.

parent 4ed6bf6b
......@@ -220,6 +220,8 @@ if(UNIX)
elseif(BUILD_SHARED_LIBS AND WIN32)
# Creates zlib1.dll when building shared library version
set_target_properties(zlib PROPERTIES SUFFIX "1.dll")
elseif(ENABLE_STATIC AND WIN32)
set_target_properties(zlibstatic PROPERTIES OUTPUT_NAME zlib)
endif()
if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment