Commit 02d60acd authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Volker Krause
Browse files

Fix build on FreeBSD by linking to Akonadi

Akonadi may require exceptions; if so, these are in its interface
target properties. Because kmail (and kmailpart) include Akonadi
headers, but did not link to it directly (only indirectly through
private linkage -- to kmailprivate and then to Akonadi --
the necessary compile options were not pulled in.

Fix this by explicitly (but privately) linking to Akonadi.
parent 47382bcf
Pipeline #157937 passed with stage
in 5 minutes and 5 seconds
......@@ -486,6 +486,7 @@ pim_target_precompile_headers(kmailpart PUBLIC ../kmail_pch.h)
target_link_libraries(kmailpart
kmailprivate
KF5::AkonadiCore
KF5::I18n
KF5::PimCommon
KF5::KCMUtils
......@@ -503,6 +504,7 @@ add_executable(kmail ${kmail_SRCS})
target_link_libraries(kmail
KF5::KontactInterface
kmailprivate
KF5::AkonadiCore
KF5::PimCommon
KF5::I18n
KF5::TemplateParser
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment