From a12b5c095178620f9ab11aedad4bf7bb0ad2874b Mon Sep 17 00:00:00 2001 From: olszomal Date: Fri, 29 Jul 2022 15:54:39 +0200 Subject: [PATCH] suppress check compiler flag messages --- cmake/SetCompilerFlags.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/SetCompilerFlags.cmake b/cmake/SetCompilerFlags.cmake index f46a91d..2fe5abe 100644 --- a/cmake/SetCompilerFlags.cmake +++ b/cmake/SetCompilerFlags.cmake @@ -1,5 +1,7 @@ include(CheckCCompilerFlag) +set(CMAKE_REQUIRED_QUIET ON) + function(add_debug_flag_if_supported flagname targets) check_c_compiler_flag("${flagname}" HAVE_FLAG_${flagname}) if (HAVE_FLAG_${flagname})