From: Chris Bieneman Date: Mon, 23 Nov 2015 23:34:09 +0000 (+0000) Subject: NFC. Fixing my consistently incorrect spelling. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=16a72ba921a415c81caf1a6382e22364f978de2d NFC. Fixing my consistently incorrect spelling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253936 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/modules/LLVMExternalProjectUtils.cmake b/cmake/modules/LLVMExternalProjectUtils.cmake index 01d5e337b8d..5d8fb71e08b 100644 --- a/cmake/modules/LLVMExternalProjectUtils.cmake +++ b/cmake/modules/LLVMExternalProjectUtils.cmake @@ -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()