Skip to content

Commit

Permalink
[CMake] Set the minimum required version to 3.20
Browse files Browse the repository at this point in the history
This is required to build LLVM18.
This version of CMake was eleased in March 2021
https://github.com/Kitware/CMake/releases/tag/v3.20.0
  • Loading branch information
dpiparo committed Sep 10, 2024
1 parent b81f1ca commit 3e03f78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

if(APPLE)
cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
else()
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
endif()
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)

if(WIN32)
# Set CMP0091 (MSVC runtime library flags are selected by an abstraction) to OLD
Expand Down

0 comments on commit 3e03f78

Please sign in to comment.