[llvm] r360045 - Fix CMake Invalid Escape Sequence
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 07:07:02 PDT 2019
Author: aganea
Date: Mon May 6 07:07:01 2019
New Revision: 360045
URL: http://llvm.org/viewvc/llvm-project?rev=360045&view=rev
Log:
Fix CMake Invalid Escape Sequence
Patch by xoviat
Differential Revision: https://reviews.llvm.org/D60658
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=360045&r1=360044&r2=360045&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Mon May 6 07:07:01 2019
@@ -12,7 +12,7 @@ include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
include(CheckSymbolExists)
-if(CMAKE_LINKER MATCHES "lld-link\.exe" OR (WIN32 AND LLVM_USE_LINKER STREQUAL "lld") OR LLVM_ENABLE_LLD)
+if(CMAKE_LINKER MATCHES "lld-link\\.exe" OR (WIN32 AND LLVM_USE_LINKER STREQUAL "lld") OR LLVM_ENABLE_LLD)
set(LINKER_IS_LLD_LINK TRUE)
else()
set(LINKER_IS_LLD_LINK FALSE)
More information about the llvm-commits
mailing list