[CMake] Move cmake_minimum_required(2.8.8) at the top.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 2 Feb 2014 16:59:36 +0000 (16:59 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 2 Feb 2014 16:59:36 +0000 (16:59 +0000)
Suggested by Stephen Kelly.

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

CMakeLists.txt

index a741f3a6aa76891f8f8c5db112766280d5cb9df3..122c47d4a81ffe1262214108a2461afcab5c99b4 100644 (file)
@@ -1,7 +1,7 @@
 # See docs/CMake.html for instructions about how to build LLVM with CMake.
 
-project(LLVM)
 cmake_minimum_required(VERSION 2.8.8)
+project(LLVM)
 
 # Add path for custom modules
 set(CMAKE_MODULE_PATH