From 83e3eafc4497c45768c0f1816a8c6870f1d80709 Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Wed, 14 Mar 2018 13:10:52 +0100 Subject: [PATCH] fix CMakeFiles to allow cling build with shared libraries --- lib/Interpreter/CMakeLists.txt | 1 + lib/MetaProcessor/CMakeLists.txt | 1 + tools/libcling/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt index dd243ad9..c5a45340 100644 --- a/lib/Interpreter/CMakeLists.txt +++ b/lib/Interpreter/CMakeLists.txt @@ -34,6 +34,7 @@ set( LLVM_LINK_COMPONENTS support target transformutils + binaryformat ${LLVM_TARGETS_TO_BUILD} ) diff --git a/lib/MetaProcessor/CMakeLists.txt b/lib/MetaProcessor/CMakeLists.txt index 5460a2a9..35f67594 100644 --- a/lib/MetaProcessor/CMakeLists.txt +++ b/lib/MetaProcessor/CMakeLists.txt @@ -9,6 +9,7 @@ set( LLVM_LINK_COMPONENTS core support + binaryformat ) add_cling_library(clingMetaProcessor OBJECT diff --git a/tools/libcling/CMakeLists.txt b/tools/libcling/CMakeLists.txt index fc3c1a66..b96b471c 100644 --- a/tools/libcling/CMakeLists.txt +++ b/tools/libcling/CMakeLists.txt @@ -38,6 +38,7 @@ set( LLVM_LINK_COMPONENTS support target transformutils + binaryformat ${LLVM_TARGETS_TO_BUILD} )