Skip to content

Commit 278c2d8

Browse files
committed
Raise minimum required CMake version to 3.20
This mimics the main repo, and avoids annoying errors if people copy-paste the code and run it with newer CMake versions that dropped compatibility with CMake < 3.5.
1 parent 7d88424 commit 278c2d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • manual/integrate_root_into_my_cmake_project

manual/integrate_root_into_my_cmake_project/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The following is an example of a project that creates a library and an executabl
6161
# Otherwise, you must tell the build system where to look for ROOT,
6262
# for example by passing `-DROOT_DIR="/path/to/root/installation` at CMake configuration time.
6363

64-
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
64+
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
6565
project(event)
6666

6767
# Locate the ROOT package and define a number of useful targets and variables.

0 commit comments

Comments
 (0)