Skip to content

Commit

Permalink
now using zlib target instead of z
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Wirtz committed Jun 8, 2015
1 parent 407528e commit 01a216d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ ADD_LIBRARY( ${LIBRARY_TARGET_NAME} ${LIBRARY_BUILD_TYPE} ${XML2_SRCS} ${PUBLIC_
target_compile_definitions(${LIBRARY_TARGET_NAME} PUBLIC LIBXML_XPATH_ENABLED)

IF( ZLIB_FOUND )
TARGET_LINK_LIBRARIES( ${LIBRARY_TARGET_NAME} z)
TARGET_LINK_LIBRARIES( ${LIBRARY_TARGET_NAME} zlib)
target_compile_definitions(${LIBRARY_TARGET_NAME} PRIVATE HAVE_ZLIB_H)
ENDIF()

Expand Down

0 comments on commit 01a216d

Please sign in to comment.