From e5d684f5f33f0650fe9c1e99875cac83de4d2dd1 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 8 Nov 2024 15:25:29 -0700 Subject: [PATCH] Be less verbose in cmake. --- cmake/checks/check_02_compiler_features.cmake | 6 ------ 1 file changed, 6 deletions(-) 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() -- 2.39.5