CMake: Add DL and RT libraries
This commit is contained in:
@@ -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