Skip to content

Commit

Permalink
Fix CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
ddement committed Jul 16, 2024
1 parent 0e29605 commit f885b68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ endif()
target_sources(${oturb_exe_name} PRIVATE main.cpp)
set_target_properties(${oturb_exe_name} PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(${oturb_exe_name} PRIVATE
Kokkos::kokkoskernels
KokkosKernels::kokkoskernels
${FS_LIB}
)

set_target_properties(${oturb_lib_name} PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(${oturb_lib_name} PRIVATE
Kokkos::kokkoskernels
KokkosKernels::kokkoskernels
${FS_LIB}
)

Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ target_link_libraries(${oturb_unit_test_exe_name} PRIVATE ${oturb_lib_name})
# Link Kokkos to test target
find_package(KokkosKernels REQUIRED)
target_link_libraries(${oturb_unit_test_exe_name} PRIVATE
Kokkos::kokkoskernels
KokkosKernels::kokkoskernels
)

# Link VTK to test target
Expand Down

0 comments on commit f885b68

Please sign in to comment.