add proper compiler flags for DKS/CUDA.

This commit is contained in:
suter_a 2020-12-28 18:25:31 +01:00
parent 7d4ed40fb0
commit b8d899f67f

View File

@ -117,7 +117,7 @@ if (dks)
message (STATUS "CUDA include: ${CUDA_INCLUDE_DIRS}")
message (STATUS "CUDA libs: ${CUDA_TOOLKIT_ROOT_DIR}/lib64")
message (STATUS "CUDA version: ${CUDA_VERSION}")
add_definitions(-DDKS_CUDA)
add_definitions(${DKS_CMAKE_CXX_FLAGS})
endif (CUDA_FOUND)
if (NOT CUDA_FOUND)