Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/CMakeLists.txt
Show All 22 Lines | |||||
23 | if (HAVE_EPOXY_GLX) | 23 | if (HAVE_EPOXY_GLX) | ||
24 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp glx_context_attribute_builder.cpp) | 24 | set(X11PLATFORM_SOURCES ${X11PLATFORM_SOURCES} glxbackend.cpp glx_context_attribute_builder.cpp) | ||
25 | endif() | 25 | endif() | ||
26 | 26 | | |||
27 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | 27 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | ||
28 | 28 | | |||
29 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | 29 | add_library(KWinX11Platform MODULE ${X11PLATFORM_SOURCES}) | ||
30 | set_target_properties(KWinX11Platform PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.platforms/") | 30 | set_target_properties(KWinX11Platform PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.platforms/") | ||
31 | target_link_libraries(KWinX11Platform eglx11common kwin kwinxrenderutils SceneOpenGLBackend Qt5::X11Extras XCB::CURSOR KF5::Crash) | 31 | target_link_libraries(KWinX11Platform eglx11common kwin kwinxrenderutils SceneOpenGLBackend Qt5::X11Extras XCB::CURSOR KF5::Crash ) | ||
32 | if (X11_Xinput_FOUND) | 32 | if (X11_Xinput_FOUND) | ||
33 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | 33 | target_link_libraries(KWinX11Platform ${X11_Xinput_LIB}) | ||
34 | endif() | 34 | endif() | ||
35 | 35 | | |||
36 | if (HAVE_DL_LIBRARY) | 36 | if (HAVE_DL_LIBRARY) | ||
37 | target_link_libraries(KWinX11Platform ${DL_LIBRARY}) | 37 | target_link_libraries(KWinX11Platform ${DL_LIBRARY}) | ||
38 | endif() | 38 | endif() | ||
39 | 39 | | |||
40 | install( | 40 | install( | ||
41 | TARGETS | 41 | TARGETS | ||
42 | KWinX11Platform | 42 | KWinX11Platform | ||
43 | DESTINATION | 43 | DESTINATION | ||
44 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.platforms/ | 44 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.platforms/ | ||
45 | ) | 45 | ) |