From 9d21f510ee4f63841effb4e76979e64ea76a8a99 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 31 May 2019 01:04:00 +0000 Subject: [PATCH] Fix -DBUILD_SHARED_LIBS=ON build after rL362160 Differential Revision: https://reviews.llvm.org/D62709 llvm-svn: 362180 --- clang/lib/CodeGen/CMakeLists.txt | 1 + llvm/lib/LTO/LLVMBuild.txt | 1 + llvm/tools/llc/CMakeLists.txt | 1 + llvm/tools/opt/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+) diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 416bc4d..7d418d6 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -17,6 +17,7 @@ set(LLVM_LINK_COMPONENTS Object Passes ProfileData + Remarks ScalarOpts Support Target diff --git a/llvm/lib/LTO/LLVMBuild.txt b/llvm/lib/LTO/LLVMBuild.txt index ed2b150..1afbe1f 100644 --- a/llvm/lib/LTO/LLVMBuild.txt +++ b/llvm/lib/LTO/LLVMBuild.txt @@ -32,6 +32,7 @@ required_libraries = ObjCARC Object Passes + Remarks Scalar Support Target diff --git a/llvm/tools/llc/CMakeLists.txt b/llvm/tools/llc/CMakeLists.txt index 130f0cd..300efda 100644 --- a/llvm/tools/llc/CMakeLists.txt +++ b/llvm/tools/llc/CMakeLists.txt @@ -10,6 +10,7 @@ set(LLVM_LINK_COMPONENTS IRReader MC MIRParser + Remarks ScalarOpts SelectionDAG Support diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt index c9e4444..cb4ba5c 100644 --- a/llvm/tools/opt/CMakeLists.txt +++ b/llvm/tools/opt/CMakeLists.txt @@ -15,6 +15,7 @@ set(LLVM_LINK_COMPONENTS Instrumentation MC ObjCARCOpts + Remarks ScalarOpts Support Target -- 2.7.4