From ba494aaa24defe1401f621b791891e696b308756 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 14 Nov 2019 13:31:06 +0100 Subject: Regenerate all projects with new CMake API version Change-Id: Ie0db35f674137c229eaf049616f38f8e818f7092 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann --- tests/auto/qml/qqmllistmodel/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/auto/qml/qqmllistmodel') diff --git a/tests/auto/qml/qqmllistmodel/CMakeLists.txt b/tests/auto/qml/qqmllistmodel/CMakeLists.txt index 407ca10381..44589cbc76 100644 --- a/tests/auto/qml/qqmllistmodel/CMakeLists.txt +++ b/tests/auto/qml/qqmllistmodel/CMakeLists.txt @@ -10,7 +10,7 @@ file(GLOB_RECURSE test_data_glob data/*) list(APPEND test_data ${test_data_glob}) -add_qt_test(tst_qqmllistmodel +qt_add_test(tst_qqmllistmodel SOURCES ../../shared/util.cpp ../../shared/util.h tst_qqmllistmodel.cpp @@ -33,12 +33,12 @@ add_qt_test(tst_qqmllistmodel ## Scopes: ##################################################################### -extend_target(tst_qqmllistmodel CONDITION ANDROID OR APPLE_IOS +qt_extend_target(tst_qqmllistmodel CONDITION ANDROID OR APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\":/data\\\" ) -extend_target(tst_qqmllistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS +qt_extend_target(tst_qqmllistmodel CONDITION NOT ANDROID AND NOT APPLE_IOS DEFINES QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" ) -- cgit v1.2.3