summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@qt.io>2021-08-17 16:36:18 +0300
committerPasi Petäjäjärvi <pasi.petajajarvi@qt.io>2021-08-19 15:50:29 +0300
commite5d811fb61f9a462a9af7afd03a547f5d97518a3 (patch)
treee3b4badc81f0e6694241cf83598a60d1b7f7982a
parentd7a23d6d73f00919e0225cc4759504389fbb7c86 (diff)
downloadqtapplicationmanager-e5d811fb61f9a462a9af7afd03a547f5d97518a3.tar.gz
Enable using FEATURE syntax when configuring module
This way we can continue to use the same syntax that in other modules from yocto. Change-Id: I7b6de08379d3f02aed3f9bf3b9d842d3d00d3d7e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--src/common-lib/configure.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common-lib/configure.cmake b/src/common-lib/configure.cmake
index 9f6ab168..2ce2fd18 100644
--- a/src/common-lib/configure.cmake
+++ b/src/common-lib/configure.cmake
@@ -47,7 +47,9 @@ qt_feature_definition("am-external-dbus-interfaces" "AM_DISABLE_EXTERNAL_DBUS_IN
qt_feature("am-tools-only" PRIVATE
LABEL "Tools only build"
- CONDITION INPUT_tools_only STREQUAL 'yes'
+ AUTODETECT OFF
+ ENABLE INPUT_tools_only STREQUAL 'yes'
+ DISABLE INPUT_tools_only STREQUAL 'no'
)
qt_feature("am-dltlogging" PRIVATE