]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix trilinos path 17659/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 21 Mar 2025 17:42:45 +0000 (13:42 -0400)
committerTimo Heister <timo.heister@gmail.com>
Fri, 21 Mar 2025 17:42:45 +0000 (13:42 -0400)
cmake/modules/FindDEAL_II_TRILINOS.cmake

index cf4fb117a826509cf9c7f591c99a38eb7114936e..4a651e29f378f6fd19bf0325a5fd727d4f6b349a 100644 (file)
@@ -52,7 +52,7 @@ if(Trilinos_FOUND)
   # set by the find_package call to Trilinos:
   set(CMAKE_CXX_EXTENSIONS OFF)
   find_package(Kokkos 3.4.0 REQUIRED QUIET
-    PATHS ${TRILINOS_DIR} NO_DEFAULT_PATH
+    PATHS ${TRILINOS_CONFIG_DIR}/.. NO_DEFAULT_PATH
   )
 
   set(KOKKOS_FOUND ${Kokkos_FOUND})

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.