Skip to content

Commit

Permalink
Remove LTO builds warning (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouncner committed Jul 25, 2022
1 parent fdc27ac commit 390628c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ endif()

# Link Time Optimization (LTO)
cmake_policy(SET CMP0069 NEW)
set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)
option(ENABLE_LTO "Set to ON to build Hyrise with enabled Link Time Optimization (LTO). Default: OFF" OFF)
if (${ENABLE_LTO})
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.9.0")
Expand Down

0 comments on commit 390628c

Please sign in to comment.