summaryrefslogtreecommitdiffstats
path: root/src/statemachine/configure.cmake
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@insta.fi>2021-01-22 10:35:12 +0200
committerJuha Vuolle <juha.vuolle@insta.fi>2021-01-28 14:02:30 +0200
commit877517d80cc325a06555dcdb987d7cd5d2b8d72f (patch)
tree1e029e0299349a213008bc2b39ac44ce0952797a /src/statemachine/configure.cmake
parentedc37027f438a76eb6286935def71fa721e5eb15 (diff)
An attempt to fix --no-gui cmake CI build of the QtScxml
Task-number: QTBUG-89828 Change-Id: Ia3708141ec1e8d787055cd0bddb2280b8f4d81ff Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/statemachine/configure.cmake')
-rw-r--r--src/statemachine/configure.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statemachine/configure.cmake b/src/statemachine/configure.cmake
index f759b4b..04fd8f6 100644
--- a/src/statemachine/configure.cmake
+++ b/src/statemachine/configure.cmake
@@ -22,5 +22,5 @@ qt_feature("statemachine" PUBLIC
qt_feature_definition("statemachine" "QT_NO_STATEMACHINE" NEGATE VALUE "1")
qt_feature("qeventtransition" PUBLIC
LABEL "QEventTransition class"
- CONDITION QT_FEATURE_statemachine
+ CONDITION QT_FEATURE_statemachine AND TARGET Qt::Gui # special case
)