Skip to content

Commit

Permalink
cmake: Bump minimum version to 2.8.12 (#617)
Browse files Browse the repository at this point in the history
Removes the following deprecation warning:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Closes #616
  • Loading branch information
squeek502 authored Sep 22, 2022
1 parent 4838666 commit 80c8c00
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 2.8)
cmake_minimum_required(VERSION 2.8.12)

if(POLICY CMP0053)
cmake_policy(SET CMP0053 NEW) # faster evaluation of variable references
Expand Down

0 comments on commit 80c8c00

Please sign in to comment.