From 795816c947f6287addb09fc629f62683962207e2 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 21 Mar 2025 12:59:33 -0400 Subject: [PATCH] require finding Kokkos inside Trilinos --- cmake/modules/FindDEAL_II_TRILINOS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindDEAL_II_TRILINOS.cmake b/cmake/modules/FindDEAL_II_TRILINOS.cmake index ee375a99a7..cf4fb117a8 100644 --- a/cmake/modules/FindDEAL_II_TRILINOS.cmake +++ b/cmake/modules/FindDEAL_II_TRILINOS.cmake @@ -51,7 +51,7 @@ if(Trilinos_FOUND) # run find_package to populate variables like Kokkos_VERSION not # set by the find_package call to Trilinos: set(CMAKE_CXX_EXTENSIONS OFF) - find_package(Kokkos 3.4.0 QUIET + find_package(Kokkos 3.4.0 REQUIRED QUIET PATHS ${TRILINOS_DIR} NO_DEFAULT_PATH ) -- 2.39.5