CMake: Give ENABLE_LTO a default and a description so it shows up in cmake-gui

pull/767/head
ruevs 2020-10-21 12:25:53 +03:00 committed by phkahler
parent aa83681da7
commit 400056cded
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ set(ENABLE_SANITIZERS OFF CACHE BOOL
"Whether to enable Clang's AddressSanitizer and UndefinedBehaviorSanitizer")
set(ENABLE_OPENMP OFF CACHE BOOL
"Whether geometric operations will be parallelized using OpenMP")
set(ENABLE_LTO OFF CACHE BOOL
"Whether interprocedural (global) optimizations are enabled")
set(OPENGL 3 CACHE STRING "OpenGL version to use (one of: 1 3)")