Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the path to zlib.map in CMakeLists.txt.

  • Loading branch information...
commit 4373bac37eab11b6140e8e1c99c4010335e8a473 1 parent 816e34e
@qtip qtip authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  CMakeLists.txt
View
2  CMakeLists.txt
@@ -166,7 +166,7 @@ endif()
if(UNIX)
# On unix-like platforms the library is almost always called libz
set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)
- set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,zlib.map")
+ set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_SOURCE_DIR}/zlib.map")
elseif(BUILD_SHARED_LIBS AND WIN32)
# Creates zlib1.dll when building shared library version
set_target_properties(zlib PROPERTIES SUFFIX "1.dll")

0 comments on commit 4373bac

Please sign in to comment.
Something went wrong with that request. Please try again.