Skip to content
Snippets Groups Projects
Commit d0e970a7 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Despite deprecated for now find_package(CUDA) is the only macro that gives the...

Despite deprecated for now find_package(CUDA) is the only macro that gives the possibility to find CUDA runtime library, FindCUDAToolkit is an option but A is too recent, B I am not clear if the mess of imported target give access to the place of the library in configuration and before generation
parent 6c6ce50a
No related branches found
No related tags found
No related merge requests found
Pipeline #3934 passed
......@@ -262,6 +262,7 @@ add_subdirectory (openfpm_io)
if (CUDA_ON_BACKEND STREQUAL "CUDA")
enable_language(CUDA)
find_package(CUDA)
endif()
file(WRITE cuda_lib "${CUDA_cudart_static_LIBRARY} ${CUDA_cudadevrt_LIBRARY}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment