From ce0f2eda634b7d4495af6b962d56df81c1c66dff Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 14 Jul 2015 01:19:07 +0000 Subject: [PATCH] [CMake] Forgot to quote the first part of STREQUAL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242103 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index ff0ce761e74..5e13b1751bb 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -691,7 +691,7 @@ macro(add_llvm_external_project name) string(TOUPPER ${nameUNDERSCORE} nameUPPER) #TODO: Remove this check in a few days once it has circulated through # buildbots and people's checkouts (cbieneman - July 14, 2015) - if(${LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR} STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/${add_llvm_external_dir}") + if("${LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/${add_llvm_external_dir}") unset(LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR CACHE) endif() if(NOT LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR) -- 2.34.1