From: Matthias Maier Date: Thu, 24 Nov 2022 13:12:21 +0000 (-0600) Subject: CMake: search quietly for kokkos and avoid an unnecessary warning X-Git-Tag: v9.5.0-rc1~817^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14466%2Fhead;p=dealii.git CMake: search quietly for kokkos and avoid an unnecessary warning --- diff --git a/cmake/modules/FindKOKKOS.cmake b/cmake/modules/FindKOKKOS.cmake index 02c94820e7..37dd5dc4e4 100644 --- a/cmake/modules/FindKOKKOS.cmake +++ b/cmake/modules/FindKOKKOS.cmake @@ -34,7 +34,7 @@ IF(DEAL_II_TRILINOS_WITH_KOKKOS) ELSE() # temporarily disable ${CMAKE_SOURCE_DIR}/cmake/modules for module lookup LIST(REMOVE_ITEM CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/) - FIND_PACKAGE(Kokkos 3.7.0 + FIND_PACKAGE(Kokkos 3.7.0 QUIET HINTS ${KOKKOS_DIR} ${Kokkos_DIR} $ENV{Kokkos_DIR} ) LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules/)