X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=3b19471d7333c2eefa12c539b17e739707c8183e;hp=44fda1797ca374d6617ea4602427e692b4e3a8f9;hb=900cce213a6ed000b7131a05a0dec7d04b35b023;hpb=1a45f16a9734820fba42fe1db3f38dd1eee49df6 diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 44fda179..3b19471d 100644 --- a/src/uisupport/CMakeLists.txt +++ b/src/uisupport/CMakeLists.txt @@ -1,4 +1,4 @@ -quassel_add_module(UiSupport) +quassel_add_module(UiSupport EXPORT) target_sources(${TARGET} PRIVATE aboutdata.cpp @@ -32,6 +32,7 @@ target_sources(${TARGET} PRIVATE treeviewtouch.cpp uisettings.cpp uistyle.cpp + widgethelpers.h # needed for automoc abstractnotificationbackend.h @@ -47,6 +48,10 @@ target_link_libraries(${TARGET} Quassel::Common ) +if (EMBED_DATA) + set_property(SOURCE graphicalui.cpp APPEND PROPERTY COMPILE_DEFINITIONS EMBED_DATA) +endif() + if (WITH_KF5) target_link_libraries(${TARGET} PUBLIC