[CMake] Move cmake_minimum_required(2.8.8) at the top.
Suggested by Stephen Kelly. llvm-svn: 200645
This commit is contained in:
parent
7829337172
commit
85d65ff49b
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue