summaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 6d5cc84..08ba582 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -5,7 +5,7 @@ qt_examples_build_begin()
if(TARGET Qt::Scxml)
add_subdirectory(scxml)
endif()
-if(TARGET Qt::StateMachine)
+if(TARGET Qt::StateMachine AND QT_FEATURE_qeventtransition)
add_subdirectory(widgets)
endif()