Warning, /graphics/kolor-manager/kolor-server/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 find_package(XRandR REQUIRED)
0003
0004 set(kolor_server_SRCS
0005 color-context.cpp
0006 display.cpp
0007 kolor-server.cpp
0008 output.cpp
0009 screen.cpp
0010 )
0011
0012 set(CMAKE_REQUIRED_INCLUDES ${X11_Xrandr_INCLUDE_PATH}/Xrandr.h)
0013 set(CMAKE_REQUIRED_LIBRARIES ${X11_Xrandr_LIB})
0014 check_function_exists(XRRGetScreenResourcesCurrent HAVE_RANDR_1_3)
0015 check_function_exists(XRRGetScreenSizeRange HAVE_RANDR_1_2)
0016
0017 kde4_add_plugin(kded_kolorserver ${kolor_server_SRCS})
0018
0019 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0020
0021 target_link_libraries(kded_kolorserver
0022 ${KDE4_KDECORE_LIBS}
0023 ${OYRANOS_LIBRARIES}
0024 ${QT_QTGUI_LIBRARIES} ${QT_CORE_LIBRARIES}
0025 X11 Xrandr ${XCM_LDFLAGS}
0026 )
0027
0028 install(TARGETS kded_kolorserver DESTINATION ${PLUGIN_INSTALL_DIR})
0029 install(FILES kolorserver.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded)