summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@here.com>2015-06-22 15:19:20 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-06-22 15:37:50 +0100
commit35d2750e2e09e2b6ca00f7679ef15066856b8d15 (patch)
tree37183332478542269709729cb7a3f1a095ac0534 /wrappers
parent481d3a18be1e17253179c0a337ab93f0df07f82c (diff)
cmake: Use CMAKE_DL_LIBS.
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt
index fcd7c146..fd081c53 100644
--- a/wrappers/CMakeLists.txt
+++ b/wrappers/CMakeLists.txt
@@ -316,7 +316,7 @@ elseif (APPLE)
glproc_gl
trace
${CMAKE_THREAD_LIBS_INIT}
- dl
+ ${CMAKE_DL_LIBS}
)
install (TARGETS cgltrace FRAMEWORK DESTINATION ${WRAPPER_INSTALL_DIR})
@@ -361,7 +361,7 @@ elseif (X11_FOUND)
glproc_gl
trace
${CMAKE_THREAD_LIBS_INIT}
- dl
+ ${CMAKE_DL_LIBS}
)
target_linker_version_script (glxtrace ${CMAKE_CURRENT_SOURCE_DIR}/glxtrace.version)
@@ -412,7 +412,7 @@ if (ENABLE_EGL AND NOT WIN32 AND NOT APPLE)
glproc_egl
trace
${CMAKE_THREAD_LIBS_INIT}
- dl
+ ${CMAKE_DL_LIBS}
)
target_linker_version_script (egltrace ${CMAKE_CURRENT_SOURCE_DIR}/egltrace.version)