From: René Bertin Date: Tue, 12 Nov 2019 16:47:35 +0000 (+0100) Subject: make link with LLVM X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/83dc0afe4670a31656bd05604fe26ab407b3af8e?ds=inline 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 --- 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 )