2011-02-19 08:34:20 +00:00
|
|
|
# kdecorations library
|
|
|
|
set(kdecorations_LIB_SRCS
|
|
|
|
kdecoration.cpp
|
|
|
|
kdecoration_p.cpp
|
|
|
|
kdecoration_plugins_p.cpp
|
|
|
|
kdecorationfactory.cpp
|
|
|
|
kcommondecoration.cpp
|
|
|
|
kcommondecoration_p.cpp )
|
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kdecorations SHARED ${kdecorations_LIB_SRCS})
|
2013-12-04 09:31:52 +00:00
|
|
|
generate_export_header(kdecorations EXPORT_FILE_NAME kdecorations_export.h)
|
2013-07-23 07:14:48 +00:00
|
|
|
target_link_libraries(kdecorations
|
2013-08-20 07:10:18 +00:00
|
|
|
Qt5::Widgets
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::ConfigCore
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service # KLibrary
|
2013-07-23 07:14:48 +00:00
|
|
|
)
|
|
|
|
# target_link_libraries(kdecorations LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS})
|
2011-02-19 08:34:20 +00:00
|
|
|
|
|
|
|
set_target_properties(kdecorations PROPERTIES
|
|
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
|
|
|
install(TARGETS kdecorations EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install( FILES
|
|
|
|
kdecoration.h
|
|
|
|
kdecorationfactory.h
|
|
|
|
kcommondecoration.h
|
2013-12-04 09:31:52 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/kdecorations_export.h
|
2011-02-19 08:34:20 +00:00
|
|
|
DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
|