Skip to content

Commit

Permalink
[cmake] Link Kokkos::kokkos
Browse files Browse the repository at this point in the history
  • Loading branch information
kliegeois authored and gojakuch committed Apr 9, 2024
1 parent bccf0ad commit ed641c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittests/Kokkos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ if (NOT (LLVM_REQUIRES_RTTI OR LLVM_ENABLE_RTTI))
endif()
endif()

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

0 comments on commit ed641c8

Please sign in to comment.