From 307060d9ab90e76131f0292e1133fa894d59d8d6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 27 Dec 2024 12:43:59 +0900 Subject: Replace dl linking with cmake-based variable Signed-off-by: Michele Calgaro (cherry picked from commit 95c36461d4175c62f4d9bf5303b28f56040dbe71) --- tdeprint/cups/CMakeLists.txt | 2 +- tdeprint/lpr/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeprint') diff --git a/tdeprint/cups/CMakeLists.txt b/tdeprint/cups/CMakeLists.txt index 831c4db83..0cf2fd1e0 100644 --- a/tdeprint/cups/CMakeLists.txt +++ b/tdeprint/cups/CMakeLists.txt @@ -82,7 +82,7 @@ set( ${target}_SRCS tde_add_executable( ${target} SOURCES ${${target}_SRCS} - LINK driverparse-static tdefakes-shared ${ZLIB_LIBRARIES} ${DL_LIBRARIES} ${TQT_LIBRARIES} + LINK driverparse-static tdefakes-shared ${ZLIB_LIBRARIES} ${CMAKE_DL_LIBS} ${TQT_LIBRARIES} DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/tdeprint/lpr/CMakeLists.txt b/tdeprint/lpr/CMakeLists.txt index dfd932150..a6f9efafc 100644 --- a/tdeprint/lpr/CMakeLists.txt +++ b/tdeprint/lpr/CMakeLists.txt @@ -80,6 +80,6 @@ set( ${target}_SRCS tde_add_executable( ${target} SOURCES ${${target}_SRCS} - LINK driverparse-static tdefakes-shared ${DL_LIBRARIES} + LINK driverparse-static tdefakes-shared ${CMAKE_DL_LIBS} DESTINATION ${BIN_INSTALL_DIR} ) -- cgit v1.2.1