diff options
author | Michele Calgaro <[email protected]> | 2024-12-27 11:51:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-12-27 18:44:22 +0900 |
commit | c2a083fde3eba226121b95fa530aa21c635ceef0 (patch) | |
tree | 0e7ffbd8afbf516165ec51f10811e232e4cfbb41 /src | |
parent | 9e8c893bcabdf1e7427ddc7ad7bcda2d98e58f1a (diff) | |
download | libr-c2a083fde3eba226121b95fa530aa21c635ceef0.tar.gz libr-c2a083fde3eba226121b95fa530aa21c635ceef0.zip |
Replace pthread and dl linking with cmake-based variablesr14.1.x
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a6a56789c93c3d235bbd188bb744d20301538f8e)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 272d74c..883259a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -45,7 +45,7 @@ tde_add_library( ${target} SHARED VERSION 1.0.0 SOURCES ${${target}_SRCS} - LINK ${BACKEND_LIBRARIES} ${ZLIB_LIBRARIES} ${DL_LIBRARIES} ${EXTRA_LIBRARIES} + LINK ${BACKEND_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_DL_LIBS} m ${CMAKE_THREAD_LIBS_INIT} DESTINATION ${LIB_INSTALL_DIR} ) @@ -53,7 +53,7 @@ tde_add_library( ${target} STATIC_PIC VERSION 1.0.0 SOURCES ${${target}_SRCS} - LINK ${BACKEND_LIBRARIES} ${ZLIB_LIBRARIES} ${EXTRA_LIBRARIES} + LINK ${BACKEND_LIBRARIES} ${ZLIB_LIBRARIES} m ${CMAKE_THREAD_LIBS_INIT} DESTINATION ${LIB_INSTALL_DIR} ) |