Stop including KDE4_INCLUDES globally
Depend on libraries specifically instead.
This commit is contained in:
parent
e5bffd744b
commit
df58c38b7c
3 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
########################################################
|
||||
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
||||
add_executable(testScreenPaintData ${testScreenPaintData_SRCS})
|
||||
target_link_libraries( testScreenPaintData kwineffects Qt5::Test Qt5::Widgets)
|
||||
target_link_libraries( testScreenPaintData kwineffects Qt5::Test Qt5::Widgets KF5::WindowSystem)
|
||||
add_test(kwin-testScreenPaintData testScreenPaintData)
|
||||
ecm_mark_as_test(testScreenPaintData)
|
||||
|
||||
|
@ -55,6 +55,7 @@ target_link_libraries( testClientMachine
|
|||
Qt5::Widgets
|
||||
KF5::ConfigCore
|
||||
KF5::WindowSystem
|
||||
KF5::Service
|
||||
XCB::XCB
|
||||
XCB::XFIXES
|
||||
${X11_X11_LIB} # to make jenkins happy
|
||||
|
|
|
@ -29,6 +29,7 @@ set(kwineffects_XCB_LIBS
|
|||
add_library(kwineffects SHARED ${kwin_EFFECTSLIB_SRCS})
|
||||
generate_export_header(kwineffects EXPORT_FILE_NAME kwineffects_export.h)
|
||||
target_link_libraries(kwineffects
|
||||
PUBLIC
|
||||
${kwineffects_QT_LIBS}
|
||||
${kwineffects_KDE_LIBS}
|
||||
${kwineffects_XCB_LIBS}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
if (XCB_ICCCM_FOUND)
|
||||
set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp)
|
||||
add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS})
|
||||
target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM)
|
||||
target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF5::WindowSystem)
|
||||
endif()
|
||||
|
||||
# next target
|
||||
|
|
Loading…
Reference in a new issue