[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim/Applications/15.08] calendarsupport: Fix calendarsupportcollectionpage linking
From:       Dan_Vrátil <dvratil () redhat ! com>
Date:       2015-08-14 16:23:51
Message-ID: E1ZQHln-0003n2-Cq () scm ! kde ! org
[Download RAW message or body]

Git commit 7e272b28bf24f26ba26c9acdf6a480e5bd0f182a by Dan Vr=C3=A1til.
Committed on 14/08/2015 at 16:23.
Pushed by dvratil into branch 'Applications/15.08'.

Fix calendarsupportcollectionpage linking

Link KF5::AkonadiCore and mailcommon in public interface, because it's actu=
ally
used in headers. This should fix the problem when some parts of KDE PIM wou=
ld
try to link against installed kdepim libraries instead those just compiled.

M  +3    -2    calendarsupport/CMakeLists.txt

http://commits.kde.org/kdepim/7e272b28bf24f26ba26c9acdf6a480e5bd0f182a

diff --git a/calendarsupport/CMakeLists.txt b/calendarsupport/CMakeLists.txt
index cacc46a..8cd9b28 100644
--- a/calendarsupport/CMakeLists.txt
+++ b/calendarsupport/CMakeLists.txt
@@ -90,10 +90,11 @@ add_library(calendarsupportcollectionpage ${calendarsup=
portcollectionpage_LIB_SR
 generate_export_header(calendarsupportcollectionpage BASE_NAME calendarsup=
portcollectionpage)
 target_link_libraries(
   calendarsupportcollectionpage
-PRIVATE
+PUBLIC
   KF5::AkonadiCore
-  KF5::CalendarCore
   mailcommon
+PRIVATE
+  KF5::CalendarCore
   pimcommon
   KF5::AkonadiCalendar
 )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic