From: Wolfgang Bangerth Date: Fri, 8 Nov 2024 22:25:29 +0000 (-0700) Subject: Be less verbose in cmake. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d684f5f33f0650fe9c1e99875cac83de4d2dd1;p=dealii.git Be less verbose in cmake. --- diff --git a/cmake/checks/check_02_compiler_features.cmake b/cmake/checks/check_02_compiler_features.cmake index cab88ab5bb..2a9cf3d709 100644 --- a/cmake/checks/check_02_compiler_features.cmake +++ b/cmake/checks/check_02_compiler_features.cmake @@ -419,13 +419,7 @@ if(DEAL_II_USE_LTO) check_ipo_supported(RESULT _res OUTPUT _out LANGUAGES CXX) if (_res) message(STATUS "Compiler supports interprocedural/link-time optimizations") - set(DEAL_II_USE_LTO "YES") else() message(FATAL_ERROR "You asked for interprocedural/link-time optimizations, but the compiler does not support these optimizations: ${_out}") - set(DEAL_II_USE_LTO "NO") endif() -else() - # User did not set DEAL_II_USE_LTO on the command line. Set the - # variable to a specific (negative) value. - set(DEAL_II_USE_LTO "NO") endif()