# 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()