mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
[cmake] Clean up IPO section in CMakeLists.txt
This commit is contained in:
parent
57e9896b9a
commit
d0c0bc1cde
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user