]> git.cworth.org Git - vogl/commitdiff
cmake: Use CMAKE_DL_LIBS instead of hardcoding "dl"
authorAndrew Wong <andrew.kw.w@gmail.com>
Fri, 14 Mar 2014 15:34:59 +0000 (11:34 -0400)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 19:37:28 +0000 (12:37 -0700)
src/libbacktrace_test/CMakeLists.txt
src/voglbench/CMakeLists.txt
src/vogleditor/CMakeLists.txt
src/voglreplay/CMakeLists.txt
src/voglsyms/CMakeLists.txt
src/vogltest/CMakeLists.txt
src/vogltrace/CMakeLists.txt

index 154d6f2df10bf7b977a3947cfc4a11fb82553515..a42f35d405a32eba42aaeee4f7f1146f92d6aad5 100644 (file)
@@ -24,7 +24,7 @@ target_link_libraries(${PROJECT_NAME}
     pthread
     voglcore
     mainlib
     pthread
     voglcore
     mainlib
-    dl
+    ${CMAKE_DL_LIBS}
     )
 
 build_options_finalize()
     )
 
 build_options_finalize()
index db34f9202eab008330d23db21007af9574c1cda9..8ea8bfb8b28951d8858bfa977434e71bf3bed94a 100644 (file)
@@ -22,7 +22,7 @@ target_link_libraries(${PROJECT_NAME}
     ${TELEMETRY_LIBRARY}
     backtrace
     voglcommon
     ${TELEMETRY_LIBRARY}
     backtrace
     voglcommon
-    dl
+    ${CMAKE_DL_LIBS}
     X11
     voglcore
     rt
     X11
     voglcore
     rt
index cfccb7ee60c78787875d7d3f520bcc4f8695b8e4..093ceea89860abe668f0985addf2e6e3f72dbb81 100644 (file)
@@ -157,7 +157,7 @@ target_link_libraries(${PROJECT_NAME}
        voglcommon
     voglcore
     X11
        voglcommon
     voglcore
     X11
-    dl
+    ${CMAKE_DL_LIBS}
    )
 
 build_options_finalize()
    )
 
 build_options_finalize()
index c96255e6ba4a430082ac19ac5dfa00229d89bc0a..5a9772656a9e7a29aecc83d4a8ed644121f6065e 100644 (file)
@@ -32,7 +32,7 @@ target_link_libraries(${PROJECT_NAME}
     ${TELEMETRY_LIBRARY}
     backtrace
     voglcommon
     ${TELEMETRY_LIBRARY}
     backtrace
     voglcommon
-    dl
+    ${CMAKE_DL_LIBS}
     X11
     pthread
     voglcore
     X11
     pthread
     voglcore
index e3bf2371031a0c3a181ab6b91e6ffd8ae3cfe4a7..0792eabbdac865b87db99979b7357e90ddf576cb 100644 (file)
@@ -22,7 +22,7 @@ add_executable(${PROJECT_NAME} ${SRC_LIST})
 target_link_libraries(${PROJECT_NAME}
     backtrace
     voglcommon
 target_link_libraries(${PROJECT_NAME}
     backtrace
     voglcommon
-    dl
+    ${CMAKE_DL_LIBS}
     voglcore
     rt
     )
     voglcore
     rt
     )
index b0725b54e3a569b20635c51fa20acc2a71de2ff3..fca718cf87fbb94489bcffbfb2b681a979cac660 100644 (file)
@@ -29,7 +29,7 @@ target_link_libraries(${PROJECT_NAME}
     voglcore
     X11
     ${VOGLTEST_OPENGL_LIBRARY}
     voglcore
     X11
     ${VOGLTEST_OPENGL_LIBRARY}
-    dl
+    ${CMAKE_DL_LIBS}
     )
 
 build_options_finalize()
     )
 
 build_options_finalize()
index 8a025afe3baaa10095707b1c29a59b1a1e374b7c..818dada96aa66833f81588294ccca7c93c926712 100644 (file)
@@ -51,11 +51,10 @@ target_link_libraries(${PROJECT_NAME}
     voglcommon
     voglcore
     pthread
     voglcommon
     voglcore
     pthread
-    dl
+    ${CMAKE_DL_LIBS}
     X11
     libturbojpeg.a
     rt
     X11
     libturbojpeg.a
     rt
-    dl
     )
 
 build_options_finalize()
     )
 
 build_options_finalize()