1c61e61119
Summary: KWin was quite good in ensuring that you don't need to install by passing paths to the tests. The new way is much nicer, so code is adjusted for the new way. Also if we require a newer ECM in future we need to support the new way. No guarantee that the tests don't pick something up from the system env, that needs more testing. References: https://community.kde.org/Guidelines_and_HOWTOs/Making_apps_run_uninstalled Test Plan: The tests which loaded helpers pass Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D7543
13 lines
405 B
CMake
13 lines
405 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
|
|
Qt5::Test
|
|
Qt5::Gui
|
|
Qt5::X11Extras
|
|
XCB::XCB
|
|
XCB::RENDER
|
|
XCB::XFIXES
|
|
)
|
|
ecm_mark_as_test(blendPictureTest)
|