Increase CMake required version 3.5 -> 3.20

Commit 777e0b245c introduced cmake_path
which has been added to Cmake in 3.20 onlyi [1], so this should only make
the error message more explicit.

[1] https://cmake.org/cmake/help/git-master/command/cmake_path.html
This commit is contained in:
Gabriel Ganne 2022-11-09 11:51:55 +01:00
parent 9c076ca34b
commit 037892739f
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
if (POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)