From 88e7e42aae05265ff22c95fe248371a07e38aacd Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Mon, 23 Nov 2015 23:34:09 +0000 Subject: [PATCH] NFC. Fixing my consistently incorrect spelling. llvm-svn: 253936 --- cmake/modules/LLVMExternalProjectUtils.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()