Source

exafmm / kernels / CMakeLists.txt

Full commit
1
2
3
4
5
6
IF(USE_GPU)
  CUDA_ADD_LIBRARY(Kernels ${EQUATION}${BASIS}${DEVICE}.cu)
  TARGET_LINK_LIBRARIES(Kernels ${CUDA_LIBRARIES})
ELSE()
  ADD_LIBRARY(Kernels ${EQUATION}${BASIS}${DEVICE}.cxx)
ENDIF()