From 20d0532a4b1fd7568adf63654d023d782373873e Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Fri, 7 Apr 2017 12:14:09 +0200 Subject: build: Change compiler check output and update wrap This removes some of the log messages spewed out during a check of a compiler flag. It also makes the SWIG compiler flag for C99 independent of the compiler. --- cmake/CompilerUtils.cmake | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmake') diff --git a/cmake/CompilerUtils.cmake b/cmake/CompilerUtils.cmake index fb81b7e7..b9fd391c 100644 --- a/cmake/CompilerUtils.cmake +++ b/cmake/CompilerUtils.cmake @@ -6,10 +6,7 @@ function(test_and_set_c_compiler_flag_global _flag) check_c_compiler_flag(${_flag} COMPILER_SUPPORTS_FLAG_${_sflag}) if(COMPILER_SUPPORTS_FLAG_${_sflag}) - message(STATUS "Compiler supports flag ${_flag}, added globally") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${_flag}" PARENT_SCOPE) - else(${_retval}) - message(STATUS "Compiler does not support flag ${_flag}, discarded") endif() endfunction(test_and_set_c_compiler_flag_global) -- cgit v1.2.3