Skip to content

Commit

Permalink
update minimum required to 3.1
Browse files Browse the repository at this point in the history
fix warnings like:

> 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.

also ref. 338
  • Loading branch information
nim65s committed Aug 16, 2021
1 parent b0b0f47 commit d072e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions _unittests/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Target-based approach should work from CMake 2.8.12 but it should fully work from 3.1
cmake_minimum_required(VERSION 2.8.12)
cmake_minimum_required(VERSION 3.1)

# These variables have to be defined before running SETUP_PROJECT
set(PROJECT_NAME jrl-cmakemodules-python)
Expand Down
2 changes: 1 addition & 1 deletion gtest/CMakeLists.txt.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.2)
cmake_minimum_required(VERSION 3.1)

project(gtest NONE)

Expand Down

0 comments on commit d072e8d

Please sign in to comment.