Skip to content

Commit

Permalink
cmake: Fix "deprecated version compatibility" warning
Browse files Browse the repository at this point in the history
  - Add version `...<max>` suffix to mark that the project does not need compatibility with older versions
  • Loading branch information
Challanger524 committed Apr 28, 2024
1 parent f9404f6 commit 19026c5
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.1)
cmake_minimum_required(VERSION 3.1...3.28)

# Extract version from configure.ac.
set(VERSION_REGEX "^AC_INIT\\(\\[libconfig\\],[ \t]*\\[([0-9.]+)\\],.*")
Expand Down

0 comments on commit 19026c5

Please sign in to comment.