X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2FCMakeLists.txt;h=7546443101b0da4b636cb5a46ac3147eba585c38;hb=900cce213a6ed000b7131a05a0dec7d04b35b023;hp=f23c62c442b52efb46e5c87113f0fb88425da27d;hpb=4ce53949ab7d52a49ae79b8817bd3aa50fada0d1;p=quassel.git diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt index f23c62c4..75464431 100644 --- a/src/client/CMakeLists.txt +++ b/src/client/CMakeLists.txt @@ -1,4 +1,4 @@ -quassel_add_module(Client) +quassel_add_module(Client EXPORT) target_sources(${TARGET} PRIVATE abstractmessageprocessor.cpp @@ -33,8 +33,6 @@ target_sources(${TARGET} PRIVATE # needed for automoc abstractui.h - - ${CLIENT_RCS} ) target_link_libraries(${TARGET} @@ -45,3 +43,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)