r200645 - [CMake] Move cmake_minimum_required(2.8.8) at the top.

NAKAMURA Takumi geek4civic at gmail.com
Sun Feb 2 08:59:36 PST 2014


Author: chapuni
Date: Sun Feb  2 10:59:36 2014
New Revision: 200645

URL: http://llvm.org/viewvc/llvm-project?rev=200645&view=rev
Log:
[CMake] Move cmake_minimum_required(2.8.8) at the top.

Suggested by Stephen Kelly.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=200645&r1=200644&r2=200645&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Sun Feb  2 10:59:36 2014
@@ -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)





More information about the cfe-commits mailing list