Skip to content

Commit

Permalink
Avoid LTO warning on type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
alazzaro committed Jul 11, 2023
1 parent 79e1c14 commit 3c5aa01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ endif ()
# always use at least C++11
set(CMAKE_CXX_STANDARD 11)

# Disable LTO
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE)

# =================================== OpenMP
if (USE_OPENMP)
find_package(OpenMP REQUIRED)
Expand Down

0 comments on commit 3c5aa01

Please sign in to comment.