Skip to content

Commit

Permalink
CMakeLists: Remove -lz from LIBS
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Jun 8, 2024
1 parent c21d531 commit 2ab5b79
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 @@ -1049,7 +1049,7 @@ if(IS_ABSOLUTE "${CMAKE_INSTALL_INCLUDEDIR}")
else()
set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
endif()
set(LIBS "-lz -lm")
set(LIBS "-lm")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libpng.pc.in
${CMAKE_CURRENT_BINARY_DIR}/libpng${PNGLIB_ABI_VERSION}.pc
@ONLY)
Expand Down

0 comments on commit 2ab5b79

Please sign in to comment.