Skip to content

Commit

Permalink
Merge pull request #97 from ghisvail/fix/libdl-linkage
Browse files Browse the repository at this point in the history
fix #93: use ${CMAKE_DL_LIBS} for libdl linkage in libclfft
  • Loading branch information
bragadeesh committed Aug 5, 2015
2 parents df0cd9d + 874cf45 commit 8489d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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} )
Expand Down

0 comments on commit 8489d30

Please sign in to comment.