3 commit 1d3f61f8a799489f7f4d81e46d9e6b31a954ea4e
4 Author: Louis Dionne <ldionne@apple.com>
5 Date: Wed Apr 22 11:16:27 2020 -0400
7 [CMake] Enforce the minimum CMake version to be at least 3.13.4
9 This commit changes the warning for CMake < 3.13.4 into a fatal error.
10 The intent is to revert and re-apply this simple commit until all build
11 bots are migrated to CMake >= 3.13.4.
13 This is part of the effort discussed on llvm-dev here:
15 http://lists.llvm.org/pipermail/llvm-dev/2020-April/140578.html
17 Differential Revision: https://reviews.llvm.org/D78646
19 --- a/llvm/CMakeLists.txt
20 +++ b/llvm/CMakeLists.txt
22 cmake_minimum_required(VERSION 3.4.3)
24 if ("${CMAKE_VERSION}" VERSION_LESS "3.13.4")
26 - "Your CMake version is ${CMAKE_VERSION}. The minimum version of CMake "
27 - "required to build LLVM is now 3.13.4.")
29 + "Your CMake version is ${CMAKE_VERSION}. Starting with LLVM 12.0.0, the "
30 + "minimum version of CMake required to build LLVM will become 3.13.4, and "
31 + "using an older CMake will become an error. Please upgrade your CMake to "
32 + "at least 3.13.4 now to avoid issues in the future!")