kde-workspace/kstyles/oxygen/config/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

40 lines
935 B
CMake

include_directories( ${KDE4_KDEUI_INCLUDES} ${CMAKE_SOURCE_DIR}/libs/oxygen)
########### next target ###############
set(kstyle_oxygen_config_PART_SRCS
oxygenstyleconfig.cpp
oxygenstyleconfig.ui
)
kde4_add_kcfg_files(kstyle_oxygen_config_PART_SRCS ../oxygenstyleconfigdata.kcfgc)
kde4_add_plugin(kstyle_oxygen_config ${kstyle_oxygen_config_PART_SRCS})
target_link_libraries(
kstyle_oxygen_config
${KDE4_KDEUI_LIBS}
oxygenstyleconfig )
install(TARGETS kstyle_oxygen_config DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
########### next target ###############
set( oxygen_settings_SOURCES
oxygenconfigdialog.cpp
main.cpp
)
add_executable(oxygen-settings ${oxygen_settings_SOURCES})
target_link_libraries(oxygen-settings
${KDE4_KDEUI_LIBS}
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
)
########### install files ###############
install(TARGETS oxygen-settings ${INSTALL_TARGETS_DEFAULT_ARGS})