From d1cff39359719e0cd6be50b880f45b7f63f58b39 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Thu, 29 Sep 2022 12:37:01 +0200 Subject: [PATCH] Don't print error details when IPO fails --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8efad82..35a2de1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ check_ipo_supported(RESULT ipo_available OUTPUT error LANGUAGES C) if(ipo_available) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) else() - message(WARNING "IPO is not supported, expect performance penalty\n${error}") + message(WARNING "IPO is not supported, expect performance penalty") endif() # Extra build type for AddressSanitizer (Asan)