aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/scenegraph/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/scenegraph/CMakeLists.txt')
-rw-r--r--tests/auto/quick/scenegraph/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/scenegraph/CMakeLists.txt b/tests/auto/quick/scenegraph/CMakeLists.txt
index e36a2b6720..888311d698 100644
--- a/tests/auto/quick/scenegraph/CMakeLists.txt
+++ b/tests/auto/quick/scenegraph/CMakeLists.txt
@@ -4,7 +4,7 @@
## tst_scenegraph Test:
#####################################################################
-add_qt_test(tst_scenegraph
+qt_add_test(tst_scenegraph
SOURCES
../../shared/util.cpp ../../shared/util.h
../shared/geometrytestutil.cpp ../shared/geometrytestutil.h
@@ -32,12 +32,12 @@ add_qt_test(tst_scenegraph
## Scopes:
#####################################################################
-extend_target(tst_scenegraph CONDITION ANDROID OR APPLE_IOS
+qt_extend_target(tst_scenegraph CONDITION ANDROID OR APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\":/data\\\"
)
-extend_target(tst_scenegraph CONDITION NOT ANDROID AND NOT APPLE_IOS
+qt_extend_target(tst_scenegraph CONDITION NOT ANDROID AND NOT APPLE_IOS
DEFINES
QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)