2022-11-03 16:35:42 +02:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/..
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kded_randrmonitor_PART_SRCS
|
|
|
|
randrmonitor.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randrdisplay.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randrscreen.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randroutput.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randrcrtc.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randrmode.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../randr.cpp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../ktimerdialog.cpp
|
2022-11-03 16:35:42 +02:00
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
kde4_add_plugin(kded_randrmonitor ${kded_randrmonitor_PART_SRCS})
|
|
|
|
|
2022-11-03 16:35:42 +02:00
|
|
|
target_link_libraries(kded_randrmonitor
|
|
|
|
${KDE4_KDEUI_LIBS}
|
|
|
|
${KDE4_SOLID_LIBS}
|
|
|
|
${X11_Xrandr_LIB}
|
|
|
|
${X11_LIBRARIES}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2022-11-03 16:35:42 +02:00
|
|
|
install(
|
|
|
|
TARGETS kded_randrmonitor
|
|
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2022-11-03 16:35:42 +02:00
|
|
|
install(
|
|
|
|
FILES randrmonitor.desktop
|
|
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded
|
|
|
|
)
|