added QT5 X11 check

Former-commit-id: ff7ff4f353381409efbdfcf346b6a4817f7dc7e1
This commit is contained in:
frostworx 2016-01-06 18:13:44 +01:00
parent defe217c89
commit 5a69b4e6a2

View File

@ -64,4 +64,8 @@ if(ENABLE_X11)
add_executable(test_x11performance TestX11Performance.cpp) add_executable(test_x11performance TestX11Performance.cpp)
target_link_libraries(test_x11performance ${X11_LIBRARIES} ${QT_LIBRARIES}) target_link_libraries(test_x11performance ${X11_LIBRARIES} ${QT_LIBRARIES})
if(ENABLE_QT5)
qt5_use_modules(test_x11performance Widgets)
endif(ENABLE_QT5)
endif(ENABLE_X11) endif(ENABLE_X11)