diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-02 16:59:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-02 16:59:36 +0000 |
commit | 10900e276fdd3b9fd997e348a8fbd69bab9b313a (patch) | |
tree | 3aa79ac99d9c6987bcc7b82a70234b284b7991da /CMakeLists.txt | |
parent | 492f172a1bf90f9826998f49caaeb50a9e270dcc (diff) |
[CMake] Move cmake_minimum_required(2.8.8) at the top.
Suggested by Stephen Kelly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c7eaf06b90..8028904a4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,9 @@ +cmake_minimum_required(VERSION 2.8.8) + # If we are not building as a part of LLVM, build Clang as an # 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.8) # Rely on llvm-config. set(CONFIG_OUTPUT) |