Fix build on Gentoo
AbstractEglBackend includes option.h, which includes main.h, which includes QApplication. Since SceneOpenGLBackend doesn't link against Qt::Widgets, kwin fails to build on Gentoo, but not on other distros for some reason...
This commit is contained in:
parent
ff618e9f41
commit
23e5039918
1 changed files with 1 additions and 1 deletions
|
@ -23,5 +23,5 @@ ecm_qt_declare_logging_category(SCENE_OPENGL_BACKEND_SRCS
|
|||
)
|
||||
|
||||
add_library(SceneOpenGLBackend STATIC ${SCENE_OPENGL_BACKEND_SRCS})
|
||||
target_link_libraries(SceneOpenGLBackend Qt::Core KF5::CoreAddons KF5::ConfigCore KF5::WindowSystem Plasma::KWaylandServer)
|
||||
target_link_libraries(SceneOpenGLBackend Qt::Core Qt::Widgets KF5::CoreAddons KF5::ConfigCore KF5::WindowSystem Plasma::KWaylandServer)
|
||||
target_include_directories(SceneOpenGLBackend PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src)
|
||||
|
|
Loading…
Reference in a new issue