Skip to content

Commit

Permalink
[CMake] Removing an unnecessary layer of variable indirection
Browse files Browse the repository at this point in the history
This prevents passthrough variables from having values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254641 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chris Bieneman committed Dec 3, 2015
1 parent 5779341 commit 208ed9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/LLVMExternalProjectUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function(llvm_ExternalProject_Add name source_dir)
if(variableName MATCHES "^${nameCanon}")
string(REPLACE ";" "\;" value "${${variableName}}")
list(APPEND PASSTHROUGH_VARIABLES
-D${variableName}=${${value}})
-D${variableName}=${value})
endif()
endforeach()

Expand Down

0 comments on commit 208ed9b

Please sign in to comment.