aboutsummaryrefslogtreecommitdiff
path: root/ports/leptonica/fix-cmakelists.patch
blob: b08a971f627f5def59ab2cdcac90375048b9699a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 945100a..6daad98 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,7 +14,6 @@ if (MSVC)
     set_source_files_properties(${src} PROPERTIES LANGUAGE CXX)
 endif()
 
-string(REPLACE "-O3" "-O2" CMAKE_C_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
 
 add_library                     (leptonica ${LIBRARY_TYPE} ${src} ${hdr})
 set_target_properties           (leptonica PROPERTIES VERSION   ${VERSION_PLAIN})