[clang] [CMake]Remove LLVM_USE_CRT* (PR #66850)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 01:16:23 PDT 2023


================
@@ -951,7 +950,7 @@ if(LLVM_USE_SANITIZER)
       endif()
       # Prepare ASAN runtime if needed
       if (LLVM_USE_SANITIZER MATCHES ".*Address.*")
-        if (${LLVM_USE_CRT_${uppercase_CMAKE_BUILD_TYPE}} MATCHES "^(MT|MTd)$")
+        if (${CMAKE_MSVC_RUNTIME_LIBRARY} MATCHES "^(MultiThreaded|MultiThreadedDebug)$")
----------------
mstorsjo wrote:

Oh, I wonder how I had missed this one while doing the deprecation cleanup...

https://github.com/llvm/llvm-project/pull/66850


More information about the cfe-commits mailing list