Commit 6480d40c authored by incardon's avatar incardon
Browse files

Fixing CUDA on CPU

parent 9b31a3d6
Pipeline #2806 passed with stages
in 13 seconds
......@@ -93,7 +93,11 @@ if (TEST_COVERAGE)
target_link_libraries(mem -lgcov)
endif()
install(TARGETS ofpmmemory ofpmmemory_dl ofpmmemory_cuda_on_cpu ofpmmemory_dl_cuda_on_cpu
if (CUDA_FOUND AND NOT CUDA_ON_CPU)
set(ADDITIONAL_OPENFPM_LIBS ofpmmemory_cuda_on_cpu ofpmmemory_dl_cuda_on_cpu)
endif()
install(TARGETS ofpmmemory ofpmmemory_dl ${ADDITIONAL_OPENFPM_LIBS}
DESTINATION openfpm_devices/lib )
install(FILES memory/ExtPreAlloc.hpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment