Skip to content

Commit

Permalink
[cmake] Better Kokkos linking
Browse files Browse the repository at this point in the history
  • Loading branch information
gojakuch authored and vgvassilev committed Apr 17, 2024
1 parent 349c77c commit 1599cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittests/Kokkos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ if (NOT (LLVM_REQUIRES_RTTI OR LLVM_ENABLE_RTTI))
endif()

target_link_libraries(KokkosTests PUBLIC ${Kokkos_LIBRARIES})
target_include_directories(KokkosTests SYSTEM PRIVATE ${Kokkos_INCLUDE_DIRS})
target_include_directories(KokkosTests SYSTEM PUBLIC ${Kokkos_INCLUDE_DIRS})

0 comments on commit 1599cfd

Please sign in to comment.