[clfft] 06/23: fix #93: use ${CMAKE_DL_LIBS} for libdl linkage in libclfft

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Aug 18 16:08:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.

commit 874cf45b4714d9396eeec31826e7b45e1ed67dce
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Aug 4 10:59:44 2015 +0100

    fix #93: use ${CMAKE_DL_LIBS} for libdl linkage in libclfft
---
 src/library/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/library/CMakeLists.txt b/src/library/CMakeLists.txt
index f583fbe..e0108b7 100644
--- a/src/library/CMakeLists.txt
+++ b/src/library/CMakeLists.txt
@@ -83,7 +83,7 @@ add_definitions( "/DCLFFT_EXPORTS" )
 include_directories( ${OPENCL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/include ../include )
 
 add_library( clFFT ${clFFT.Files} )
-target_link_libraries( clFFT ${OPENCL_LIBRARIES} )
+target_link_libraries( clFFT ${OPENCL_LIBRARIES} ${CMAKE_DL_LIBS} )
 
 set_target_properties( clFFT PROPERTIES VERSION ${CLFFT_VERSION} )
 set_target_properties( clFFT PROPERTIES SOVERSION ${CLFFT_SOVERSION} )

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list