[kwin] Add missing target link libraries
Missing libs caused compile error if built standalone.
This commit is contained in:
parent
704e42163d
commit
23e6fbbb71
3 changed files with 6 additions and 2 deletions
|
@ -75,6 +75,7 @@ target_link_libraries( testXcbWrapper
|
|||
Qt5::Test
|
||||
Qt5::X11Extras
|
||||
Qt5::Widgets
|
||||
KF5::WindowSystem
|
||||
XCB::XCB
|
||||
)
|
||||
add_test(kwin-testXcbWrapper testXcbWrapper)
|
||||
|
@ -92,6 +93,7 @@ target_link_libraries( testXcbWindow
|
|||
Qt5::Test
|
||||
Qt5::X11Extras
|
||||
Qt5::Widgets
|
||||
KF5::WindowSystem
|
||||
XCB::XCB
|
||||
)
|
||||
add_test(kwin-testXcbWindow testXcbWindow)
|
||||
|
|
|
@ -16,6 +16,8 @@ set(kwineffects_QT_LIBS
|
|||
|
||||
set(kwineffects_KDE_LIBS
|
||||
KF5::ConfigCore
|
||||
KF5::Service
|
||||
KF5::WindowSystem
|
||||
)
|
||||
|
||||
set(kwineffects_XCB_LIBS
|
||||
|
@ -49,7 +51,7 @@ macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude )
|
|||
include_directories(${glinclude})
|
||||
add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS})
|
||||
generate_export_header(${name} BASE_NAME kwinglutils EXPORT_FILE_NAME kwinglutils_export.h)
|
||||
target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras XCB::XCB)
|
||||
target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras XCB::XCB KF5::Service KF5::WindowSystem)
|
||||
if(KWIN_HAVE_EGL)
|
||||
target_link_libraries(${name} PRIVATE EGL::EGL)
|
||||
endif()
|
||||
|
|
|
@ -7,4 +7,4 @@ endif()
|
|||
# next target
|
||||
set(screenedgeshowtest_SRCS screenedgeshowtest.cpp)
|
||||
add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS})
|
||||
target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras ${XCB_XCB_LIBRARY})
|
||||
target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::WindowSystem ${XCB_XCB_LIBRARY})
|
||||
|
|
Loading…
Reference in a new issue