Warning, /frameworks/kwindowsystem/src/platforms/xcb/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_library(KF6WindowSystemX11Plugin MODULE)
0002 
0003 target_sources(KF6WindowSystemX11Plugin PRIVATE
0004     kwindoweffects.cpp
0005     kwindowshadow.cpp
0006     kwindowsystem.cpp
0007     kxutils.cpp
0008     plugin.cpp
0009 )
0010 
0011 target_link_libraries(KF6WindowSystemX11Plugin
0012     PRIVATE
0013         KF6WindowSystem
0014         XCB::XCB
0015         XCB::RES
0016         ${X11_LIBRARIES}
0017         ${X11_Xfixes_LIB}
0018         Qt6::GuiPrivate
0019 )
0020 
0021 ecm_generate_headers(KWindowSystemX11_HEADERS
0022     HEADER_NAMES
0023         KSelectionOwner
0024         KSelectionWatcher
0025         KXMessages
0026         NETWM # does not match the classnames in that file...
0027 
0028     REQUIRED_HEADERS
0029         KWindowSystemX11_HEADERS
0030 )
0031 
0032 install(
0033     FILES
0034         ${KWindowSystemX11_HEADERS}
0035         fixx11h.h
0036     DESTINATION
0037         ${KDE_INSTALL_INCLUDEDIR_KF}/KWindowSystem
0038     COMPONENT
0039         Devel
0040 )
0041 
0042 set_target_properties(
0043     KF6WindowSystemX11Plugin
0044     PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/kf6/kwindowsystem"
0045 )
0046 
0047 install(
0048     TARGETS
0049         KF6WindowSystemX11Plugin
0050     DESTINATION
0051         ${KDE_INSTALL_PLUGINDIR}/kf6/kwindowsystem/
0052 )