Don't print error details when IPO fails

This commit is contained in:
Rodrigo Arias 2022-09-29 12:37:01 +02:00
parent 41739c8927
commit d1cff39359

View File

@ -46,7 +46,7 @@ check_ipo_supported(RESULT ipo_available OUTPUT error LANGUAGES C)
if(ipo_available) if(ipo_available)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
else() else()
message(WARNING "IPO is not supported, expect performance penalty\n${error}") message(WARNING "IPO is not supported, expect performance penalty")
endif() endif()
# Extra build type for AddressSanitizer (Asan) # Extra build type for AddressSanitizer (Asan)