1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00

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
This commit is contained in:
René Bertin 2019-11-12 17:47:35 +01:00
parent e2e43c9073
commit 83dc0afe46

View File

@ -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
)