diff options
Diffstat (limited to 'tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt')
-rw-r--r-- | tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt index f36bcceeb2..2e689e0afe 100644 --- a/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt +++ b/tests/auto/qml/qqmllistmodelworkerscript/CMakeLists.txt @@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob data/*) list(APPEND test_data ${test_data_glob}) -add_qt_test(tst_qqmllistmodelworkerscript +qt_add_test(tst_qqmllistmodelworkerscript SOURCES ../../shared/util.cpp ../../shared/util.h tst_qqmllistmodelworkerscript.cpp @@ -33,12 +33,12 @@ add_qt_test(tst_qqmllistmodelworkerscript ## Scopes: ##################################################################### -extend_target(tst_qqmllistmodelworkerscript CONDITION ANDROID OR APPLE_IOS +qt_extend_target(tst_qqmllistmodelworkerscript CONDITION ANDROID OR APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -extend_target(tst_qqmllistmodelworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS +qt_extend_target(tst_qqmllistmodelworkerscript CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) |