Merge pull request #1901

33f3cfde set USE_LTO_DEFAULT to false (Christoph Schnerch)
This commit is contained in:
Riccardo Spagni 2017-03-21 14:13:00 +02:00
commit 72f38bcc91
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -559,7 +559,7 @@ else()
endif()
if(NOT DEFINED USE_LTO_DEFAULT)
set(USE_LTO_DEFAULT true)
set(USE_LTO_DEFAULT false)
endif()
set(USE_LTO ${USE_LTO_DEFAULT} CACHE BOOL "Use Link-Time Optimization (Release mode only)")