[llvm] r242103 - [CMake] Forgot to quote the first part of STREQUAL.
Chris Bieneman
beanz at apple.com
Mon Jul 13 18:19:07 PDT 2015
Author: cbieneman
Date: Mon Jul 13 20:19:07 2015
New Revision: 242103
URL: http://llvm.org/viewvc/llvm-project?rev=242103&view=rev
Log:
[CMake] Forgot to quote the first part of STREQUAL.
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=242103&r1=242102&r2=242103&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Mon Jul 13 20:19:07 2015
@@ -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)
More information about the llvm-commits
mailing list