Guard Kokkos dependency
What is the problem
Finding Kokkos downloaded by FetchContent (e.g., in Ragnarok) causes trouble.
- FetchContent libraries cannot be found using config mode or module mode
find_package. - The install dependency might not find the correct Kokkos if the target is outside of the current project scope.
Solution
- Kokkos target is checked before finding with the config mode.
- Install rules are guarded when MemMan is used as a subproject.
Edited by Yen-Chen Chen