Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4874880

Browse files
committed
Use CMAKE_MSVC_RUNTIME_LIBRARY instead of LLVM_USE_CRT_*
This cmake option has been removed in: llvm/llvm-project@618e5d2
1 parent edfbe63 commit 4874880

File tree

1 file changed

+1
-3
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-3
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,7 @@ impl Step for Llvm {
412412
}
413413

414414
if target.is_msvc() {
415-
cfg.define("LLVM_USE_CRT_DEBUG", "MT");
416-
cfg.define("LLVM_USE_CRT_RELEASE", "MT");
417-
cfg.define("LLVM_USE_CRT_RELWITHDEBINFO", "MT");
415+
cfg.define("CMAKE_MSVC_RUNTIME_LIBRARY", "MultiThreaded");
418416
cfg.static_crt(true);
419417
}
420418

0 commit comments

Comments
 (0)