summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/auto/tracing/flamegraphview/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tracing/flamegraphview/CMakeLists.txt b/tests/auto/tracing/flamegraphview/CMakeLists.txt
index a35961bc52..23f73fde89 100644
--- a/tests/auto/tracing/flamegraphview/CMakeLists.txt
+++ b/tests/auto/tracing/flamegraphview/CMakeLists.txt
@@ -15,6 +15,10 @@ else() # < Qt 6.2
DEPENDS Tracing Qt5::QuickWidgets Qt5::Quick Utils
)
+ if (NOT TARGET tst_tracing_flamegraphview) # qt_add_qml_module has no DEPENDS check
+ return()
+ endif()
+
qt_add_qml_module(tst_tracing_flamegraphview
URI "QtCreator.TstTracingFlameGraphView"
VERSION "1.0"