Note minimum required version of CMake
authorTim Northover <Tim.Northover@arm.com>
Mon, 18 Feb 2013 11:41:04 +0000 (11:41 +0000)
committerTim Northover <Tim.Northover@arm.com>
Mon, 18 Feb 2013 11:41:04 +0000 (11:41 +0000)
We already use features from 2.8.6, this just gives a slightly more friendly
message when the dependency isn't met.

Patch from Keith Walker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175434 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 71a74260ab3b22b966af98ed5c7e727be0f404a5..84250298e0dea644bae9091e77ec8ce74cca1eb9 100644 (file)
@@ -1,7 +1,7 @@
 # See docs/CMake.html for instructions about how to build LLVM with CMake.
 
 project(LLVM)
 # See docs/CMake.html for instructions about how to build LLVM with CMake.
 
 project(LLVM)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8.6)
 
 # Add path for custom modules
 set(CMAKE_MODULE_PATH
 
 # Add path for custom modules
 set(CMAKE_MODULE_PATH