2016-06-01 08:21:19 +00:00
|
|
|
add_executable(blendPictureTest blendpicture_test.cpp)
|
2017-07-29 16:47:58 +00:00
|
|
|
set_target_properties(blendPictureTest PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW")
|
2017-08-25 16:18:20 +00:00
|
|
|
add_test(NAME xrenderutils-blendPictureTest COMMAND blendPictureTest)
|
2016-06-01 08:21:19 +00:00
|
|
|
target_link_libraries(blendPictureTest
|
|
|
|
kwinxrenderutils
|
2021-01-30 16:18:21 +00:00
|
|
|
Qt::Test
|
|
|
|
Qt::Gui
|
2016-06-01 08:21:19 +00:00
|
|
|
XCB::XCB
|
|
|
|
XCB::RENDER
|
|
|
|
XCB::XFIXES
|
2019-09-17 09:15:35 +00:00
|
|
|
)
|
2022-03-09 16:25:44 +00:00
|
|
|
if (QT_MAJOR_VERSION EQUAL "5")
|
|
|
|
target_link_libraries(blendPictureTest Qt::X11Extras)
|
|
|
|
else()
|
|
|
|
target_link_libraries(blendPictureTest Qt::GuiPrivate)
|
|
|
|
endif()
|
2016-06-01 08:21:19 +00:00
|
|
|
ecm_mark_as_test(blendPictureTest)
|