[PATCH] D77740: [CMake] Add a warning message to prepare the upcoming upgrade to CMake 3.13.4
Louis Dionne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 08:06:21 PDT 2020
ldionne updated this revision to Diff 259292.
ldionne added a comment.
Update wording.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77740/new/
https://reviews.llvm.org/D77740
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -2,6 +2,14 @@
cmake_minimum_required(VERSION 3.4.3)
+if ("${CMAKE_VERSION}" VERSION_LESS "3.13.4")
+ message(WARNING
+ "Your CMake version is ${CMAKE_VERSION}. Starting with LLVM 12.0.0, the "
+ "minimum version of CMake required to build LLVM will become 3.13.4, and "
+ "using an older CMake will become an error. Please upgrade your CMake to "
+ "at least 3.13.4 now to avoid issues in the future!")
+endif()
+
if(POLICY CMP0068)
cmake_policy(SET CMP0068 NEW)
set(CMAKE_BUILD_WITH_INSTALL_NAME_DIR ON)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77740.259292.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/35786488/attachment.bin>
More information about the llvm-commits
mailing list