From b72e4ec897523b37d198a5c49f8fbc145e181b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 30 May 2016 15:06:30 +0200 Subject: [PATCH] Revert "Fix build." This reverts commit abe582c27d66b01274e2ad40a4caa13e438db771. To explain: the test uses a mocked implementation of libinput. Because of that it must not link against libinput. The whole idea is to not link libinput. So I'm reverting the addition of libinput to linkage. I don't know the build error, if it gets presented to me, I'll fix it properly without having to add a linkage to libinput. --- autotests/libinput/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/libinput/CMakeLists.txt b/autotests/libinput/CMakeLists.txt index b9a78ec6fc..1b5cb7b6b3 100644 --- a/autotests/libinput/CMakeLists.txt +++ b/autotests/libinput/CMakeLists.txt @@ -3,6 +3,6 @@ ######################################################## set( testLibinputDevice_SRCS device_test.cpp mock_libinput.cpp ../../libinput/device.cpp ) add_executable(testLibinputDevice ${testLibinputDevice_SRCS}) -target_link_libraries( testLibinputDevice Libinput::Libinput Qt5::Test) +target_link_libraries( testLibinputDevice Qt5::Test) add_test(kwin-testLibinputDevice testLibinputDevice) ecm_mark_as_test(testLibinputDevice)