diff options
Diffstat (limited to 'tests/auto/gui/qopengl/CMakeLists.txt')
-rw-r--r-- | tests/auto/gui/qopengl/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/gui/qopengl/CMakeLists.txt b/tests/auto/gui/qopengl/CMakeLists.txt index 1c7c9b6ec0..a32730fd70 100644 --- a/tests/auto/gui/qopengl/CMakeLists.txt +++ b/tests/auto/gui/qopengl/CMakeLists.txt @@ -4,7 +4,7 @@ ## tst_qopengl Test: ##################################################################### -add_qt_test(tst_qopengl +qt_add_test(tst_qopengl SOURCES tst_qopengl.cpp PUBLIC_LIBRARIES @@ -17,7 +17,7 @@ add_qt_test(tst_qopengl ## Scopes: ##################################################################### -extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin +qt_extend_target(tst_qopengl CONDITION LINUX AND QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin DEFINES USE_GLX ) |