Closed junghans closed 3 years ago
I know Kokkos is a public dependency of Cabana. But I like the "include what you use" philosophy and I use Kokkos functions directly. Besides Cmake should remove duplicates.
I know Kokkos is a public dependency of Cabana. But I like the "include what you use" philosophy and I use Kokkos functions directly. Besides Cmake should remove duplicates.
Makes sense! It can lead to the situation that cmake finds two different versions of kokkos as Cabana remember where its kokkos was located. Not so much in your case as are using Cabana as a git submodule and not through find_package(Cabana)
.
Unless you have a good reason for it, there is really no need to link kokkos directly the cabana target will take care of that.