File tree 3 files changed +15
-3
lines changed
drake_cmake_installed_apt
3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 3
3
# TODO(eric.cousineau): Link to documentation on superproject example pending
4
4
# resolution of: https://gitlab.kitware.com/cmake/cmake/issues/18336
5
5
6
- cmake_minimum_required (VERSION 3.16)
6
+ # See https://drake.mit.edu/from_source.html for the versions of CMake
7
+ # officially supported by Drake when building from source.
8
+ cmake_minimum_required (VERSION 3.22...4.0)
7
9
project (drake_cmake_external)
8
10
9
11
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: MIT-0
2
2
3
- cmake_minimum_required (VERSION 3.16)
3
+ # Note that the minimum required version of CMake to consume a binary
4
+ # installation of Drake is lower than the minimum required version
5
+ # when building Drake from source (as seen in drake_cmake_external).
6
+ # The maximum version below allows for the use of modern policies
7
+ # with newer versions of CMake.
8
+ cmake_minimum_required (VERSION 3.9...4.0)
4
9
project (drake_cmake_installed)
5
10
6
11
# N.B. This is a temporary flag. It only really applies to Linux, as Mac
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: MIT-0
2
2
3
- cmake_minimum_required (VERSION 3.16)
3
+ # Note that the minimum required version of CMake to consume a binary
4
+ # installation of Drake is lower than the minimum required version
5
+ # when building Drake from source (as seen in drake_cmake_external).
6
+ # The maximum version below allows for the use of modern policies
7
+ # with newer versions of CMake.
8
+ cmake_minimum_required (VERSION 3.9...4.0)
4
9
project (drake_cmake_installed_apt)
5
10
6
11
include (CTest)
You can’t perform that action at this time.
0 commit comments