summaryrefslogtreecommitdiffstats
path: root/src/core/core_generator.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_generator.pro')
-rw-r--r--src/core/core_generator.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_generator.pro b/src/core/core_generator.pro
index 9ea3f7246..c99e10ef8 100644
--- a/src/core/core_generator.pro
+++ b/src/core/core_generator.pro
@@ -40,7 +40,7 @@ RCC_DIR = $$OUT_PWD/$$getConfigDir()/.rcc
# Assume that we want mobile touch and low-end hardware behaviors
# whenever we are cross compiling.
-cross_compile: DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES
+contains(WEBENGINE_CONFIG, embedded_build): DEFINES += QTWEBENGINE_EMBEDDED_SWITCHES
qtConfig(egl): CONFIG += egl