kde-workspace/kcontrol/randr/CMakeLists.txt

50 lines
852 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
add_subdirectory(module)
2014-11-13 19:30:51 +02:00
include_directories(${X11_Xrandr_INCLUDE_PATH})
2014-11-13 19:30:51 +02:00
########### next target ###############
set(randrinternal_PART_SRCS
randr.cpp
randrdisplay.cpp
collapsiblewidget.cpp
layoutmanager.cpp
outputconfig.cpp
outputgraphicsitem.cpp
randrconfig.cpp
randrcrtc.cpp
randrmode.cpp
randroutput.cpp
randrscreen.cpp
)
2014-11-13 19:30:51 +02:00
set(kcm_randr_PART_SRCS
${randrinternal_PART_SRCS}
krandrmodule.cpp
randrconfigbase.ui
outputconfigbase.ui
2015-09-01 04:37:19 +03:00
)
2014-11-13 19:30:51 +02:00
kde4_add_plugin(kcm_randr ${kcm_randr_PART_SRCS})
target_link_libraries(kcm_randr
KDE4::kdeui
${X11_Xrandr_LIB}
${X11_LIBRARIES}
)
2014-11-13 19:30:51 +02:00
install(
TARGETS kcm_randr
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
2014-11-13 19:30:51 +02:00
########### next target ###############
install(
FILES randr.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)
2014-11-13 19:30:51 +02:00