3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

[cmake] Clean up IPO section in CMakeLists.txt

This commit is contained in:
Nils Wentzell 2021-02-03 11:02:56 -05:00
parent 57e9896b9a
commit d0c0bc1cde

View File

@ -111,9 +111,6 @@ if(NOT ipo_supported)
else()
message(STATUS "Linktime optimizations enabled!")
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
if(CMAKE_SYSTEM_NAME EQUAL "Linux")
add_link_options($<$<CXX_COMPILER_ID:Clang>:-fuse-ld=gold>)
endif()
endif()
# Create an Interface target for compiler warnings