[llvm] Fix: CMake Error at cmake/modules/LLVMExternalProjectUtils.cmake:86 (is_msvc_triple) (PR #80071)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 31 05:00:00 PST 2024
https://github.com/hiraditya updated https://github.com/llvm/llvm-project/pull/80071
>From 0ae0ed53a941b1462438cbbaa8b9b5ea9d0298d1 Mon Sep 17 00:00:00 2001
From: AdityaK <1894981+hiraditya at users.noreply.github.com>
Date: Tue, 30 Jan 2024 14:39:07 -0800
Subject: [PATCH] Fix: CMake Error at
cmake/modules/LLVMExternalProjectUtils.cmake:86 (is_msvc_triple)
---
llvm/cmake/modules/LLVMExternalProjectUtils.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/cmake/modules/LLVMExternalProjectUtils.cmake b/llvm/cmake/modules/LLVMExternalProjectUtils.cmake
index 2089f979acd00..2672f90f579bd 100644
--- a/llvm/cmake/modules/LLVMExternalProjectUtils.cmake
+++ b/llvm/cmake/modules/LLVMExternalProjectUtils.cmake
@@ -83,7 +83,7 @@ function(llvm_ExternalProject_Add name source_dir)
set(target_triple ${ARG_TARGET_TRIPLE})
endif()
- is_msvc_triple(is_msvc_target ${target_triple})
+ is_msvc_triple(is_msvc_target "${target_triple}")
if(NOT ARG_TOOLCHAIN_TOOLS)
set(ARG_TOOLCHAIN_TOOLS clang)
More information about the llvm-commits
mailing list