[clang] [CMake]Remove LLVM_USE_CRT* (PR #66850)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 20 01:23:35 PDT 2023
================
@@ -14,10 +14,7 @@ set(LLVM_PACKAGE_BUGREPORT @PACKAGE_BUGREPORT@)
set(LLVM_BUILD_TYPE @CMAKE_BUILD_TYPE@)
-set(LLVM_USE_CRT_DEBUG @LLVM_USE_CRT_DEBUG@)
-set(LLVM_USE_CRT_MINSIZEREL @LLVM_USE_CRT_MINSIZEREL@)
-set(LLVM_USE_CRT_RELEASE @LLVM_USE_CRT_RELEASE@)
-set(LLVM_USE_CRT_RELWITHDEBINFO @LLVM_USE_CRT_RELWITHDEBINFO@)
+set(CMAKE_MSVC_RUNTIME_LIBRARY @CMAKE_MSVC_RUNTIME_LIBRARY@)
----------------
Naville wrote:
Yeah RUNTIME_LIBRARY mismatch results in cryptic unlinkable error,
https://github.com/llvm/llvm-project/pull/66850
More information about the cfe-commits
mailing list