]> granicus.if.org Git - clang/commitdiff
LLVM's CMake is now using a feature that wasn't preasant in CMake 2.8.7,
authorChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:23:58 +0000 (22:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:23:58 +0000 (22:23 +0000)
so bump the minimum version in the standalone Clang CMake project as
well.

As I mentioned on the LLVM commit version of this, if this causes any
trouble for folks, just let me know. I'm trying to avoid re-implementing
functionality in CMake, but I will if there are problems using the newer
versions.

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

CMakeLists.txt

index 313694d9968025647c65d28ed6ffab121626a450..4bf195ceb33d5a11e29307dea27fdd6a4a63a1bd 100644 (file)
@@ -2,7 +2,7 @@
 # standalone project, using LLVM as an external library:
 if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
   project(Clang)
-  cmake_minimum_required(VERSION 2.8)
+  cmake_minimum_required(VERSION 2.8.8)
 
   # Rely on llvm-config.
   set(CONFIG_OUTPUT)