From 922062820a8d0ffa5ef7027687b2bd5da9b2aba0 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Wed, 13 Dec 2017 23:49:51 +0000 Subject: [PATCH] [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 --- cmake/modules/LLVMExternalProjectUtils.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/modules/LLVMExternalProjectUtils.cmake b/cmake/modules/LLVMExternalProjectUtils.cmake index 521bd0ffe98..b84ebbb5387 100644 --- a/cmake/modules/LLVMExternalProjectUtils.cmake +++ b/cmake/modules/LLVMExternalProjectUtils.cmake @@ -152,6 +152,7 @@ function(llvm_ExternalProject_Add name source_dir) -DLLVM_CONFIG_PATH=$ -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}