diff --git a/CMakeLists.txt b/CMakeLists.txt index e1087af11..20d1068bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,12 +77,14 @@ else(WIN32) $<$:-O0> $<$:-Ofast> $<$:-fPIE> + $<$:-flto> $<$:-Ofast> $<$:-fPIE> $<$:-g> ) add_link_options( -mmacosx-version-min=10.9 + $<$:-flto> ) elseif (