ladybird/Userland/Applications/Mail/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
Otherwise, we end up propagating those dependencies into targets that
link against that library, which creates unnecessary link-time
dependencies.

Also included are changes to readd now missing dependencies to tools
that actually need them.
2022-11-01 14:49:09 +00:00

24 lines
453 B
CMake

serenity_component(
Mail
RECOMMENDED
TARGETS Mail
DEPENDS WebContent
)
compile_gml(MailWindow.gml MailWindowGML.h mail_window_gml)
set(SOURCES
AccountHolder.cpp
InboxModel.cpp
MailWidget.cpp
MailboxTreeModel.cpp
main.cpp
)
set(GENERATED_SOURCES
MailWindowGML.h
)
serenity_app(Mail ICON app-mail)
target_link_libraries(Mail PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibIMAP LibWebView LibWeb LibMain)