aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-11-13 20:29:10 +0000
committerHans Wennborg <hans@hanshq.net>2013-11-13 20:29:10 +0000
commit7adae8e795504660ba68bd7e44db8deaf1721630 (patch)
tree1cdb46ba129841fc260bd0ad6fb2ae1819a6d204 /cmake
parentdc9a217d05eb5b65b51ad1f806166ae6430308b1 (diff)
downloadexternal_llvm-7adae8e795504660ba68bd7e44db8deaf1721630.zip
external_llvm-7adae8e795504660ba68bd7e44db8deaf1721630.tar.gz
external_llvm-7adae8e795504660ba68bd7e44db8deaf1721630.tar.bz2
Revert my CMake patches concerning building with /MT (r194589, r194596)
Reid pointed out we already have LLVM_USE_CRT_{buildtype} to set it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 9fdc708..bb41a58 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -5,7 +5,6 @@
include(AddLLVMDefinitions)
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
-include(LLVMProcessSources)
if( CMAKE_COMPILER_IS_GNUCXX )
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
@@ -41,18 +40,6 @@ else()
endif()
endif()
-if(MSVC AND LLVM_STATIC_MSVC_RUNTIME)
- # Link against the static runtime.
- foreach(flag CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO
- CMAKE_C_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELEASE
- CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_MINSIZEREL)
- llvm_replace_compiler_option("${flag}" "/MD" "/MT")
- endforeach()
- foreach(flag CMAKE_C_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG)
- llvm_replace_compiler_option("${flag}" "/MDd" "/MTd")
- endforeach()
-endif()
-
if(WIN32)
if(CYGWIN)
set(LLVM_ON_WIN32 0)