Skip to content
Snippets Groups Projects
Unverified Commit 92f03a4d authored by Arndt, Daniel's avatar Arndt, Daniel Committed by GitHub
Browse files

Merge pull request #123 from aprokop/another_fix

Revert "Only add the link path for clang"
parents f96367de db336355
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ endforeach()
# For clang we need to add the cudart library explicitly
# since Kokkos doesn't do that for us.
if(Kokkos_DEVICES MATCHES "Cuda" AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(Kokkos_DEVICES MATCHES "Cuda")
find_package(CUDA REQUIRED)
get_filename_component(Kokkos_CUDA_LIBRARY_DIR ${CUDA_cudadevrt_LIBRARY} DIRECTORY)
set(PC_Kokkos_LDFLAGS "-L${Kokkos_CUDA_LIBRARY_DIR} ${PC_Kokkos_LDFLAGS}")
......
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