From 83dc0afe4670a31656bd05604fe26ab407b3af8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Bertin?= Date: Tue, 12 Nov 2019 17:47:35 +0100 Subject: [PATCH] make link with LLVM This patch fixes a link failure when building with the LLVM toolchain which does not discover the dependency on or pull in the private dolphin library when linking dolphin itself. BUG: 410237 Differential Revision: https://phabricator.kde.org/D22802 --- src/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 14701a1f4..648053014 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -300,9 +300,10 @@ ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS}) -target_link_libraries(kdeinit_dolphin PRIVATE - dolphinstatic +target_link_libraries(kdeinit_dolphin PUBLIC dolphinprivate + PRIVATE + dolphinstatic KF5::Crash ) -- 2.47.3