summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 12:43:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-12-27 20:45:05 +0900
commit307060d9ab90e76131f0292e1133fa894d59d8d6 (patch)
tree9e231ecb10a6caa873b12c5b33403b5ccc71b580 /tdeprint
parent226e5aa1552ce0a4207638cb492cc6498cbc7d80 (diff)
downloadtdelibs-307060d9ab90e76131f0292e1133fa894d59d8d6.tar.gz
tdelibs-307060d9ab90e76131f0292e1133fa894d59d8d6.zip
Replace dl linking with cmake-based variable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 95c36461d4175c62f4d9bf5303b28f56040dbe71)
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/cups/CMakeLists.txt2
-rw-r--r--tdeprint/lpr/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
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}
)