[compiler-rt] r201184 - Require CMake 2.8.12.1 or later on Windows
Hans Wennborg
hans at hanshq.net
Tue Feb 11 13:46:19 PST 2014
Author: hans
Date: Tue Feb 11 15:46:19 2014
New Revision: 201184
URL: http://llvm.org/viewvc/llvm-project?rev=201184&view=rev
Log:
Require CMake 2.8.12.1 or later on Windows
That version knows to use the /FS flag, which is needed for building
lib/interception with VS2013.
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=201184&r1=201183&r2=201184&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Tue Feb 11 15:46:19 2014
@@ -13,7 +13,13 @@ include(LLVMParseArguments)
# to use its support for building convenience "libraries" as a collection of
# .o files. This is particularly useful in producing larger, more complex
# runtime libraries.
-cmake_minimum_required(VERSION 2.8.8)
+if (NOT MSVC)
+ cmake_minimum_required(VERSION 2.8.8)
+else()
+ # Version 2.8.12.1 is required to build with Visual Studion 2013.
+ cmake_minimum_required(VERSION 2.8.12.1)
+endif()
+
# Top level target used to build all compiler-rt libraries.
add_custom_target(compiler-rt)
More information about the llvm-commits
mailing list