mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00
40 lines
935 B
CMake
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})
|
|
|
|
|
|
|
|
|
|
|