aboutsummaryrefslogtreecommitdiff
path: root/ports/leptonica/fix-cmakelists.patch
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-10-22 08:42:47 +0800
committerGitHub <noreply@github.com>2020-10-21 17:42:47 -0700
commitaff62d3487cd4c47ebc7f1dfd7a7023665403e20 (patch)
tree8c5f01eec304a94ceea346ab546882b8ac8efb51 /ports/leptonica/fix-cmakelists.patch
parentb1dea7104f38eae95284470af2833b628a4847bb (diff)
downloadvcpkg-aff62d3487cd4c47ebc7f1dfd7a7023665403e20.tar.gz
vcpkg-aff62d3487cd4c47ebc7f1dfd7a7023665403e20.zip
[leptonica] Update to 1.80.0 (#14125)
Diffstat (limited to 'ports/leptonica/fix-cmakelists.patch')
-rw-r--r--ports/leptonica/fix-cmakelists.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/ports/leptonica/fix-cmakelists.patch b/ports/leptonica/fix-cmakelists.patch
index b08a971f6..6d1d28169 100644
--- a/ports/leptonica/fix-cmakelists.patch
+++ b/ports/leptonica/fix-cmakelists.patch
@@ -1,12 +1,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})
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index e474463..d2b999d 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 ${src} ${hdr})
+ set_target_properties (leptonica PROPERTIES VERSION ${VERSION_PLAIN})