19 lines
575 B
Diff
19 lines
575 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4f0f8be5..5c7336b3 100644
|
|
--- CMakeLists.txt
|
|
+++ CMakeLists.txt
|
|
@@ -42,14 +42,6 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
|
|
set(CMAKE_BUILD_TYPE Release)
|
|
endif()
|
|
|
|
-# Try to enable LTO by default
|
|
-include(CheckIPOSupported)
|
|
-check_ipo_supported(RESULT IPO_SUPPORTED)
|
|
-if(IPO_SUPPORTED)
|
|
- set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
|
- set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_DEBUG FALSE)
|
|
-endif()
|
|
-
|
|
set(CMAKE_C_STANDARD 99)
|
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|