CMake: Add DL and RT libraries
This commit is contained in:
1 parent
de2cfd15dc
commit
49cf0dfa01
1 file changed
+1
-1
@@ -33,4 +33,4 @@ TARGET_INCLUDE_DIRECTORIES(ImageAnalysis PUBLIC
|
||||
fast-feedback-indexer/eigen)
|
||||
|
||||
FIND_LIBRARY(CUDART_LIBRARY cudart_static PATHS ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES} REQUIRED)
|
||||
TARGET_LINK_LIBRARIES(ImageAnalysis CommonFunctions ${CUDART_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(ImageAnalysis CommonFunctions ${CUDART_LIBRARY} ${CMAKE_DL_LIBS} rt)
|
||||
Reference in new issue
Block a user