Skip to content

Commit

Permalink
Merge pull request kokkos#2734 from kokkos/quiet-check
Browse files Browse the repository at this point in the history
Suppress error messages for check with return value in KokkosConfigCommon
  • Loading branch information
dalg24 authored Feb 7, 2020
2 parents c67aa1d + 1a06b85 commit 923a943
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/KokkosConfigCommon.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ function(kokkos_check)
# use it to check that there are variables defined for all required
# arguments. Success or failure messages will be displayed but we are
# responsible for signaling failure and skip the build system generation.
if (KOKKOS_CHECK_RETURN_VALUE)
set(Kokkos_${arg}_FIND_QUIETLY ON)
endif()
find_package_handle_standard_args("Kokkos_${arg}" DEFAULT_MSG
${KOKKOS_CHECK_${arg}})
if(NOT Kokkos_${arg}_FOUND)
Expand Down

0 comments on commit 923a943

Please sign in to comment.