From 2ab5b79cdc3bb71ebcdeb3d9d7043027b2932912 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 9 Jun 2024 00:18:08 +0200 Subject: [PATCH] CMakeLists: Remove `-lz` from LIBS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24be1dd478..f68f0acbbf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)