]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: silence configure warnings for ArborX and Ginkgo 14500/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 29 Nov 2022 18:45:57 +0000 (12:45 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 29 Nov 2022 18:45:57 +0000 (12:45 -0600)
Both packages install their own package config files. Thus, if they are
not installed `find_package()` throws a warning.

cmake/modules/FindDEAL_II_ARBORX.cmake
cmake/modules/FindDEAL_II_GINKGO.cmake

index 0dccbe70cf6eb653d9570184ff03217a96d10661..7ebb9fe32f82a20e45d87b75e7ed0a1ffb15e816 100644 (file)
@@ -27,7 +27,7 @@ set(ARBORX_DIR "" CACHE PATH "An optional hint to an ArborX installation")
 set_if_empty(ARBORX_DIR "$ENV{ARBORX_DIR}")
 
 
-find_package(ArborX
+find_package(ArborX QUIET
   HINTS ${ARBORX_DIR} ${ArborX_DIR} $ENV{ArborX_DIR}
   )
 
index aceb8db1890d032551dc19a2288b21c503f873e3..0d15f32e3cee32f3b32072882ef73deea2371786 100644 (file)
@@ -32,7 +32,7 @@ set_if_empty(GINKGO_DIR "$ENV{GINKGO_DIR}")
 # subsequent configuration to fail.
 #
 set(_cmake_module_path ${CMAKE_MODULE_PATH})
-find_package(Ginkgo
+find_package(Ginkgo QUIET
   HINTS ${GINKGO_DIR} ${Ginkgo_DIR} $ENV{Ginkgo_DIR}
   )
 set(CMAKE_MODULE_PATH ${_cmake_module_path})

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.