mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
CMake: accept all NEW policies in released CMake versions
Using the <max> argument to cmake_minimum_required will set all policies up to <max> to NEW. We might need to fix some issues arising from that, but this means that modern CMake can already behave like it wants even with leaving <min> so that we can support old distros (currently Debian 10). Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
parent
72275db1d5
commit
268bf42b9e
@ -1,5 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13...3.28)
|
||||||
cmake_policy(SET CMP0048 NEW)
|
|
||||||
|
|
||||||
project(OpenVPN3-core VERSION 3)
|
project(OpenVPN3-core VERSION 3)
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.13...3.28)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user