Skip to content

Commit

Permalink
Merge pull request #4 from DBarney/master
Browse files Browse the repository at this point in the history
Removed unsupported flags on SunOS
  • Loading branch information
rphillips committed Feb 27, 2015
2 parents ccf0581 + 39c3974 commit 8de57bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -202,7 +202,7 @@ endif()
if(UNIX)
# On unix-like platforms the library is almost always called libz
set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)
if(NOT APPLE)
if(NOT APPLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES "SunOS")
set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,\"${CMAKE_CURRENT_SOURCE_DIR}/zlib.map\"")
endif()
elseif(BUILD_SHARED_LIBS AND WIN32)
Expand Down

0 comments on commit 8de57bc

Please sign in to comment.