https://gitlab.com/eztrace/eztrace/-/merge_requests/33

---
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -179,8 +179,8 @@ if (EZTRACE_ENABLE_OMPT)
 endif()
 
 if (EZTRACE_ENABLE_KOKKOS)
-  find_package (Kokkos REQUIRED CONFIG)
   enable_language(CXX)
+  find_package (Kokkos REQUIRED CONFIG)
 endif()
 
 if (EZTRACE_ENABLE_PYTHON)
