X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=839ecc8c6726ab11a9a6afab0ccae8c31c70d2c4;hb=d89f4d9cdbc167112e64fca1931e81bc27d17319;hp=44fda1797ca374d6617ea4602427e692b4e3a8f9;hpb=1a45f16a9734820fba42fe1db3f38dd1eee49df6;p=quassel.git diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 44fda179..839ecc8c 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 @@ -47,6 +47,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