Skip to content

Commit

Permalink
Increase CMake required version 3.5 -> 3.20
Browse files Browse the repository at this point in the history
Commit 777e0b2 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
  • Loading branch information
GabrielGanne committed Nov 9, 2022
1 parent 9c076ca commit 0378927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 0378927

Please sign in to comment.