CMake: Add options for using static runtime on MSVC++ build.
authorOscar Fuentes <ofv@wanadoo.es>
Thu, 18 Mar 2010 13:52:05 +0000 (13:52 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Thu, 18 Mar 2010 13:52:05 +0000 (13:52 +0000)
Patch by Victor Zverovich!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98821 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 96e06082fde6a0bd5ab94cea15cce5b1722c1a14..9d0180b86ff83c3dde9a48ddb4ef4465ad694fc7 100644 (file)
@@ -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 )