kde-workspace/kstyles/oxygen/CMakeLists.txt
Ivailo Monev 71e8bb3f86 kstyles: remove oxygen style hack
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-06 23:10:30 +03:00

41 lines
998 B
CMake

project(kstyle-oxygen)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/debug
${CMAKE_SOURCE_DIR}/libs/oxygen
${CMAKE_BINARY_DIR}/libs/oxygen
)
add_subdirectory( config )
add_subdirectory( demo )
########### next target ###############
set(oxygen_PART_SRCS
debug/oxygenwidgetexplorer.cpp
oxygenframeshadow.cpp
oxygenmdiwindowshadow.cpp
oxygenmnemonics.cpp
oxygenpropertynames.cpp
oxygenshadowhelper.cpp
oxygenstyle.cpp
oxygenstylehelper.cpp
oxygenwindowmanager.cpp
)
kde4_add_kcfg_files(oxygen_PART_SRCS oxygenstyleconfigdata.kcfgc)
kde4_add_plugin(oxygen ${oxygen_PART_SRCS})
target_link_libraries(oxygen ${KDE4_KDEUI_LIBS} oxygenstyle)
if ( X11_FOUND )
target_link_libraries(oxygen ${X11_LIBRARIES})
endif( X11_FOUND )
install(TARGETS oxygen DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/kde4/plugins/styles/ )
########### install files ###############
install( FILES oxygen.themerc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kstyle/themes )