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 416bc4dc3122..7d418d697cfa 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 ed2b150ddaf9..1afbe1ff2d85 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 130f0cd3cb9e..300efdab10d0 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 c9e44449dc2f..cb4ba5cfbced 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