1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[CMake] Removing an unnecessary layer of variable indirection

This prevents passthrough variables from having values.

llvm-svn: 254641
This commit is contained in:
Chris Bieneman 2015-12-03 19:47:04 +00:00
parent 0608b5076b
commit 57f58fbc10

View File

@ -95,7 +95,7 @@ function(llvm_ExternalProject_Add name source_dir)
if(variableName MATCHES "^${nameCanon}") if(variableName MATCHES "^${nameCanon}")
string(REPLACE ";" "\;" value "${${variableName}}") string(REPLACE ";" "\;" value "${${variableName}}")
list(APPEND PASSTHROUGH_VARIABLES list(APPEND PASSTHROUGH_VARIABLES
-D${variableName}=${${value}}) -D${variableName}=${value})
endif() endif()
endforeach() endforeach()