Downstream Cabana libraries require specifying Kokkos_ROOT and ArborX_ROOT right now. This PR allows users to skip that and try to use the directories used during the build. I've only done these two because that's what I tested, but it could be expanded to all others.
Similar approach was hardcoded in Cabana at some point, but was removed in #244.
How do you mean we require *_ROOT? I generally just pass the Cabana path in CMAKE_PREFIX_PATH to build an app and Kokkos/ArborX are found just fine. Is this a CMake version thing?
Downstream Cabana libraries require specifying
Kokkos_ROOT
andArborX_ROOT
right now. This PR allows users to skip that and try to use the directories used during the build. I've only done these two because that's what I tested, but it could be expanded to all others.Similar approach was hardcoded in Cabana at some point, but was removed in #244.