Browse Source

Remove flto as it breaks the library archive

Kajetan Johannes Hammerle 9 months ago
parent
commit
2ceabcc278
1 changed files with 2 additions and 2 deletions
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -53,8 +53,8 @@ set(SRC_PERFORMANCE
 )
 
 if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
-    set(COMPILE_OPTIONS -flto)
-    set(LINK_OPTIONS -flto)
+    set(COMPILE_OPTIONS "")
+    set(LINK_OPTIONS "")
     set(LOG_LEVEL 2)
     set(DEFINITIONS "")
 else()