From 4cc514579f467db51907567b305f21b0607b27d1 Mon Sep 17 00:00:00 2001 From: Yuanfang Chen Date: Fri, 14 Jan 2022 18:42:03 -0800 Subject: [PATCH] [NFCI][CMake] add space among flag sets in all_linker_flags_uppercase Follow-up on 74bb4ad5d4eb0. It should not change behaviors but a good thing to do. --- llvm/cmake/modules/HandleLLVMOptions.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake index 600d3cc03d58..81f4f6c9de1a 100644 --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -490,11 +490,11 @@ if( MSVC ) # Get all linker flags in upper case form so we can search them. string(CONCAT all_linker_flags_uppercase - ${CMAKE_EXE_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} - ${CMAKE_EXE_LINKER_FLAGS} - ${CMAKE_MODULE_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} - ${CMAKE_MODULE_LINKER_FLAGS} - ${CMAKE_SHARED_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} + ${CMAKE_EXE_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} " " + ${CMAKE_EXE_LINKER_FLAGS} " " + ${CMAKE_MODULE_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} " " + ${CMAKE_MODULE_LINKER_FLAGS} " " + ${CMAKE_SHARED_LINKER_FLAGS_${uppercase_CMAKE_BUILD_TYPE}} " " ${CMAKE_SHARED_LINKER_FLAGS}) string(TOUPPER "${all_linker_flags_uppercase}" all_linker_flags_uppercase)