forked from OSchip/llvm-project
[CMake] Pass LLVM_HAVE_LINK_VERSION_SCRIPT to external projects
Some external projects depend on this LLVM CMake variable. Differential Revision: https://reviews.llvm.org/D41205 llvm-svn: 320658
This commit is contained in:
parent
a9844566d3
commit
34ea06b09e
|
@ -152,6 +152,7 @@ function(llvm_ExternalProject_Add name source_dir)
|
|||
-DLLVM_CONFIG_PATH=$<TARGET_FILE:llvm-config>
|
||||
-DLLVM_ENABLE_WERROR=${LLVM_ENABLE_WERROR}
|
||||
-DLLVM_HOST_TRIPLE=${LLVM_HOST_TRIPLE}
|
||||
-DLLVM_HAVE_LINK_VERSION_SCRIPT=${LLVM_HAVE_LINK_VERSION_SCRIPT}
|
||||
-DPACKAGE_VERSION=${PACKAGE_VERSION}
|
||||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
||||
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
|
||||
|
|
Loading…
Reference in New Issue