Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit ce0f2ed

Browse files
author
Chris Bieneman
committed
[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
1 parent 5bd68ee commit ce0f2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddLLVM.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ macro(add_llvm_external_project name)
691691
string(TOUPPER ${nameUNDERSCORE} nameUPPER)
692692
#TODO: Remove this check in a few days once it has circulated through
693693
# buildbots and people's checkouts (cbieneman - July 14, 2015)
694-
if(${LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR} STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/${add_llvm_external_dir}")
694+
if("${LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}/${add_llvm_external_dir}")
695695
unset(LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR CACHE)
696696
endif()
697697
if(NOT LLVM_EXTERNAL_${nameUPPER}_SOURCE_DIR)

0 commit comments

Comments
 (0)