From 400056cdedd270d4bd741e5438f67d52a2b427e3 Mon Sep 17 00:00:00 2001 From: ruevs Date: Wed, 21 Oct 2020 12:25:53 +0300 Subject: [PATCH] CMake: Give ENABLE_LTO a default and a description so it shows up in cmake-gui --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 736d872..6430e2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)")