KDE: fix kwin theme cmake build script

This commit is contained in:
Daniel Ruiz de Alegría 2021-10-05 11:18:23 +02:00
parent d31877c3ac
commit 59e43e84d2
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
2 changed files with 20 additions and 0 deletions

View File

@ -11,3 +11,4 @@ include(KDECMakeSettings)
find_package(KDecoration2 REQUIRED)
add_subdirectory(kdecoration)
add_subdirectory(libbreezecommon)

View File

@ -0,0 +1,19 @@
################# dependencies #################
### Qt/KDE
find_package(Qt5 REQUIRED CONFIG COMPONENTS Widgets)
################# breezestyle target #################
set(breezecommon_LIB_SRCS
breezeboxshadowrenderer.cpp
)
add_library(kali-breezecommon5 ${breezecommon_LIB_SRCS})
generate_export_header(kali-breezecommon5
BASE_NAME breezecommon
EXPORT_FILE_NAME breezecommon_export.h)
target_link_libraries(kali-breezecommon5
PUBLIC
Qt5::Core
Qt5::Gui)