diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-27 12:43:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-12-27 20:45:05 +0900 |
commit | 307060d9ab90e76131f0292e1133fa894d59d8d6 (patch) | |
tree | 9e231ecb10a6caa873b12c5b33403b5ccc71b580 /tdeprint | |
parent | 226e5aa1552ce0a4207638cb492cc6498cbc7d80 (diff) | |
download | tdelibs-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.txt | 2 | ||||
-rw-r--r-- | tdeprint/lpr/CMakeLists.txt | 2 |
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} ) |