diff options
Diffstat (limited to 'tests/auto/gui/image/qpixmap/CMakeLists.txt')
-rw-r--r-- | tests/auto/gui/image/qpixmap/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/gui/image/qpixmap/CMakeLists.txt b/tests/auto/gui/image/qpixmap/CMakeLists.txt index 32c60e95c3..f6a83aa0da 100644 --- a/tests/auto/gui/image/qpixmap/CMakeLists.txt +++ b/tests/auto/gui/image/qpixmap/CMakeLists.txt @@ -25,11 +25,10 @@ list(APPEND test_data ${test_data_glob}) add_qt_test(tst_qpixmap SOURCES tst_qpixmap.cpp - LIBRARIES - Qt::CorePrivate - Qt::GuiPrivate PUBLIC_LIBRARIES + Qt::CorePrivate Qt::Gui + Qt::GuiPrivate TESTDATA ${test_data} ) @@ -96,10 +95,9 @@ add_qt_resource(tst_qpixmap "qpixmap" ##################################################################### extend_target(tst_qpixmap CONDITION TARGET Qt::Widgets - LIBRARIES - Qt::WidgetsPrivate PUBLIC_LIBRARIES Qt::Widgets + Qt::WidgetsPrivate ) extend_target(tst_qpixmap CONDITION WIN32 AND NOT WINRT |