[llvm] r320658 - [CMake] Pass LLVM_HAVE_LINK_VERSION_SCRIPT to external projects
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 15:49:51 PST 2017
Author: phosek
Date: Wed Dec 13 15:49:51 2017
New Revision: 320658
URL: http://llvm.org/viewvc/llvm-project?rev=320658&view=rev
Log:
[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
Modified:
llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
Modified: llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake?rev=320658&r1=320657&r2=320658&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake Wed Dec 13 15:49:51 2017
@@ -152,6 +152,7 @@ function(llvm_ExternalProject_Add name s
-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}
More information about the llvm-commits
mailing list