NFC. Fixing my consistently incorrect spelling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Bieneman 2015-11-23 23:34:09 +00:00
parent 4af22ef7d9
commit 16a72ba921

View File

@ -91,11 +91,11 @@ function(llvm_ExternalProject_Add name source_dir)
# Find all variables that start with COMPILER_RT and populate a variable with
# them.
get_cmake_property(variableNames VARIABLES)
foreach(varaibleName ${variableNames})
if(varaibleName MATCHES "^${nameCanon}")
string(REPLACE ";" "\;" value "${${varaibleName}}")
foreach(variableName ${variableNames})
if(variableName MATCHES "^${nameCanon}")
string(REPLACE ";" "\;" value "${${variableName}}")
list(APPEND PASSTHROUGH_VARIABLES
-D${varaibleName}=${${value}})
-D${variableName}=${${value}})
endif()
endforeach()