Skip to content

Commit

Permalink
Build: remove ipo support (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
caic99 authored Jul 14, 2022
1 parent 8d45957 commit 5f510c9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ endif()
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
add_compile_options(-O2 -g) # default flag
endif()
include(CheckIPOSupported)
check_ipo_supported(RESULT IPOSupported)
if(IPOSupported)
set_target_properties(${ABACUS_BIN_NAME} PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()

find_package(Cereal REQUIRED)
include_directories(${CEREAL_INCLUDE_DIR})
Expand Down

0 comments on commit 5f510c9

Please sign in to comment.