X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2FCMakeLists.txt;h=756a5409267f4083753e6a774eae6f6c712c8a24;hb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9;hp=f23c62c442b52efb46e5c87113f0fb88425da27d;hpb=4ce53949ab7d52a49ae79b8817bd3aa50fada0d1;p=quassel.git diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index f23c62c4..756a5409 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -1,8 +1,9 @@ -quassel_add_module(Client) +quassel_add_module(Client EXPORT) target_sources(${TARGET} PRIVATE abstractmessageprocessor.cpp backlogrequester.cpp + backlogsettings.cpp buffermodel.cpp buffersettings.cpp bufferviewoverlay.cpp @@ -33,8 +34,6 @@ target_sources(${TARGET} PRIVATE # needed for automoc abstractui.h - - ${CLIENT_RCS} ) target_link_libraries(${TARGET} @@ -45,3 +44,9 @@ target_link_libraries(${TARGET} Qt5::Widgets # QAbstractItemView in BufferModel Quassel::Common ) + +if (EMBED_DATA) + set_property(SOURCE client.cpp APPEND PROPERTY COMPILE_DEFINITIONS EMBED_DATA) +endif() + +target_link_if_exists(${TARGET} PUBLIC Quassel::Resource::Data)