kwin/autotests/libxrenderutils/CMakeLists.txt
Nicolas Fella 99947c8bd8 Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6

GIT_SILENT
2021-01-30 17:18:21 +01:00

13 lines
398 B
CMake

add_executable(blendPictureTest blendpicture_test.cpp)
set_target_properties(blendPictureTest PROPERTIES COMPILE_DEFINITIONS "NO_NONE_WINDOW")
add_test(NAME xrenderutils-blendPictureTest COMMAND blendPictureTest)
target_link_libraries(blendPictureTest
kwinxrenderutils
Qt::Test
Qt::Gui
Qt::X11Extras
XCB::XCB
XCB::RENDER
XCB::XFIXES
)
ecm_mark_as_test(blendPictureTest)