From 5a69b4e6a2d82074e8d78ad3a0fcd48ce49ee2d8 Mon Sep 17 00:00:00 2001 From: frostworx Date: Wed, 6 Jan 2016 18:13:44 +0100 Subject: [PATCH] added QT5 X11 check Former-commit-id: ff7ff4f353381409efbdfcf346b6a4817f7dc7e1 --- test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 482d066a..76cbb5dc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -64,4 +64,8 @@ if(ENABLE_X11) add_executable(test_x11performance TestX11Performance.cpp) target_link_libraries(test_x11performance ${X11_LIBRARIES} ${QT_LIBRARIES}) +if(ENABLE_QT5) +qt5_use_modules(test_x11performance Widgets) +endif(ENABLE_QT5) + endif(ENABLE_X11)