From 0fc10153a07a7cbc40182f248ef91273a954cef2 Mon Sep 17 00:00:00 2001 From: Volodymyr Turanskyy Date: Fri, 20 Dec 2024 16:01:56 +0000 Subject: [PATCH] Remove unused LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS_ALL Add the llvm-toolchain-mingw target directly to LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS to fix mingw build. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 416ce5dc..59408ed6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -773,9 +773,8 @@ install( add_custom_target( install-llvm-toolchain ) -set(LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS_ALL ${LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS}) if(LLVM_TOOLCHAIN_CROSS_BUILD_MINGW) - list(APPEND LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS_ALL llvm-toolchain-mingw) + list(APPEND LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS llvm-toolchain-mingw) endif() foreach(component ${LLVM_TOOLCHAIN_DISTRIBUTION_COMPONENTS}) add_custom_target(