Fix: CMake Error at cmake/modules/LLVMExternalProjectUtils.cmake:86 (is_msvc_triple) (#80071)

Adding quotes around the `${target_triple}`

Fix: #78530
This commit is contained in:
AdityaK 2024-01-31 07:28:56 -08:00 committed by GitHub
parent 1bab570e9b
commit c651b2b0d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)