Skip to content

Commit 40e7cd7

Browse files
authored
Merge pull request #71 from nim65s/cmake
update CMake
2 parents 8faa8f5 + 1299494 commit 40e7cd7

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# with eiquadprog. If not, see <https://www.gnu.org/licenses/>.
1818
#
1919

20-
cmake_minimum_required(VERSION 3.10)
20+
cmake_minimum_required(VERSION 3.22)
2121

2222
# Project properties
2323
set(PROJECT_ORG stack-of-tasks)
@@ -47,14 +47,6 @@ else()
4747
TARGET jrl-cmakemodules::jrl-cmakemodules
4848
PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
4949
message(STATUS "JRL cmakemodules found on system at ${JRL_CMAKE_MODULES}")
50-
elseif(${CMAKE_VERSION} VERSION_LESS "3.14.0")
51-
message(
52-
FATAL_ERROR
53-
"\nCan't find jrl-cmakemodules. Please either:\n"
54-
" - use git submodule: 'git submodule update --init'\n"
55-
" - or install https://github.com/jrl-umi3218/jrl-cmakemodules\n"
56-
" - or upgrade your CMake version to >= 3.14 to allow automatic fetching\n"
57-
)
5850
else()
5951
message(STATUS "JRL cmakemodules not found. Let's fetch it.")
6052
include(FetchContent)

cmake

Submodule cmake updated 435 files

0 commit comments

Comments
 (0)