aerothemeplasma/KWin/smod_kwin_theme/breeze/libbreezecommon/CMakeLists.txt

25 lines
719 B
CMake

################# dependencies #################
### Qt/KDE
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets)
################# breezestyle target #################
set(breezecommon_LIB_SRCS
breezeboxshadowrenderer.cpp
)
add_library(breezecommon5 ${breezecommon_LIB_SRCS})
generate_export_header(breezecommon5
BASE_NAME breezecommon
EXPORT_FILE_NAME breezecommon_export.h)
target_link_libraries(breezecommon5
PUBLIC
Qt::Core
Qt::Gui)
set_target_properties(breezecommon5 PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR})
#install(TARGETS breezecommon5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)