From: Oscar Fuentes Date: Thu, 18 Mar 2010 13:52:05 +0000 (+0000) Subject: CMake: Add options for using static runtime on MSVC++ build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3f0cc8c268ef17536690907dbdf3ef488e8fe994;p=oota-llvm.git CMake: Add options for using static runtime on MSVC++ build. Patch by Victor Zverovich! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98821 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 96e06082fde..9d0180b86ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -217,7 +217,9 @@ if( MSVC ) # List of valid CRTs for MSVC set(MSVC_CRT MD - MDd) + MDd + MT + MTd) set(LLVM_USE_CRT "" CACHE STRING "Specify VC++ CRT to use for debug/release configurations.") add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS )