From: Chris Bieneman Date: Tue, 21 May 2019 23:50:15 +0000 (+0000) Subject: Fix target property to make BUILD_SHARED_LIBS work X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f71dcea071a1be41e27d816b89425ba5bd6c7c59;p=clang Fix target property to make BUILD_SHARED_LIBS work Public and Private link libraries get merged in the LINK_LIBRARIES property instead of being kept separate. With any luck this will get `BUILD_SHARED_LIBS` working again on Linux. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361334 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-shlib/CMakeLists.txt b/tools/clang-shlib/CMakeLists.txt index 4d11dc2c49..162a935301 100644 --- a/tools/clang-shlib/CMakeLists.txt +++ b/tools/clang-shlib/CMakeLists.txt @@ -8,7 +8,7 @@ get_property(clang_libs GLOBAL PROPERTY CLANG_STATIC_LIBS) foreach (lib ${clang_libs}) list(APPEND _OBJECTS $) list(APPEND _DEPS $) - list(APPEND _DEPS $) + list(APPEND _DEPS $) endforeach () add_clang_library(clang_shared