@@ -17,6 +17,10 @@ also makes cross-building with MinGW on Linux much simpler. However,
17
17
builds are also possible by providing the build dependencies manually,
18
18
but that might require specifying more information to CMake.
19
19
20
+ You need at least CMake version 3.21 or newer for the ` CMakePreset.json `
21
+ file to be supported. Manual builds might be possible with older CMake
22
+ versions, see ` cmake_minimum_required ` in ` CMakeLists.txt ` .
23
+
20
24
If you're looking to build the full Windows installer MSI, take a look
21
25
at https://github.com/OpenVPN/openvpn-build.git .
22
26
@@ -27,7 +31,7 @@ The following tools are expected to be present on the system, you
27
31
can install them with a package manager of your choice (e.g.
28
32
chocolatey, winget) or manually:
29
33
30
- * CMake
34
+ * CMake (>= 3.21)
31
35
* Git
32
36
* Python (3.x), plus the Python module ` docutils `
33
37
* Visual Studion 17 (2022), C/C++ Enviroment
@@ -101,6 +105,7 @@ To build the Windows executables on a Linux system:
101
105
git clone https://github.com/OpenVPN/openvpn.git
102
106
export VCPKG_ROOT=$PWD/vcpkg
103
107
cd openvpn
108
+ # requires CMake 3.21 or newer
104
109
cmake --preset mingw-x64
105
110
cmake --build --preset mingw-x64
106
111
# unit tests are built, but no testPreset is provided. You need to copy
0 commit comments