┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Bertin <[email protected]>2019-11-12 17:47:35 +0100
committerRené Bertin <[email protected]>2019-11-12 17:47:35 +0100
commit83dc0afe4670a31656bd05604fe26ab407b3af8e (patch)
treeddabfc2bc05762bdbf6df29bdf19e532b6a148ec
parente2e43c907393c2d2cb8a50d4ade50eca5375c53f (diff)
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
-rw-r--r--src/CMakeLists.txt5
1 files 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
)