Skip to content

Commit 5fb7e6d

Browse files
committed
cmake: update minimum version to 3.16 (fix zxing-cpp#857)
1 parent 67b01cf commit 5fb7e6d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.15)
1+
cmake_minimum_required(VERSION 3.16)
22

33
project(ZXing)
44

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Thanks a lot for your contribution!
4747

4848
[Note:]
4949
* DataBar used to be called RSS.
50-
* DataBar, DX Film Edge, MaxiCode, Micro QR Code, and rMQR Code are not supported for writing.
50+
* DataBar, DX Film Edge, MaxiCode, Micro QR Code and rMQR Code are not supported for writing.
5151
* Building with only C++17 (see [CMakeLists.txt](https://github.com/zxing-cpp/zxing-cpp/blob/d4b0f502775857f257d13efd25fb840ece1bca3e/CMakeLists.txt#L45)) changes the behavior of the library: it then lacks support for DataBarLimited and multi-symbol and position independent detection for DataMatrix.
5252

5353
## Getting Started
@@ -98,7 +98,7 @@ As an example, have a look at [`ZXingWriter.cpp`](example/ZXingWriter.cpp).
9898
## Build Instructions
9999
These are the generic instructions to build the library on Windows/macOS/Linux. For details on how to build the individual wrappers, follow the links above.
100100
101-
1. Make sure [CMake](https://cmake.org) version 3.15 or newer is installed.
101+
1. Make sure [CMake](https://cmake.org) version 3.16 or newer is installed. The python module requires 3.18 or higher.
102102
2. Make sure a sufficiently C++20 compliant compiler is installed (minimum VS 2019 16.10? / gcc 11 / clang 12?).
103103
3. See the cmake `ZXING_...` options to enable the testing code, python wrapper, etc.
104104

core/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.15)
1+
cmake_minimum_required(VERSION 3.16)
22

33
project (ZXing VERSION "2.2.1")
44
set (ZXING_SONAME 3) # see https://github.com/zxing-cpp/zxing-cpp/issues/333

0 commit comments

Comments
 (0)