summaryrefslogtreecommitdiff
path: root/src/core/api/configure.cmake
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-03-20 14:10:00 +0100
committerMichal Klocek <michal.klocek@qt.io>2023-05-03 12:35:32 +0200
commitbd1d854d03f169f005511b2204d124dc05213571 (patch)
tree4a3c5ddcf59ccb00e4388358c493f0c73d20dea7 /src/core/api/configure.cmake
parent8dfb4a3c514e2fcb6b65684c8e263ff180c6d06b (diff)
downloadqtwebengine-bd1d854d03f169f005511b2204d124dc05213571.tar.gz
Add v8 context snapshot support/feature
Change-Id: I93e615293160d80c8a65b0152d2f820cfadbdb9d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/api/configure.cmake')
-rw-r--r--src/core/api/configure.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/api/configure.cmake b/src/core/api/configure.cmake
index df7583e25..c19f18251 100644
--- a/src/core/api/configure.cmake
+++ b/src/core/api/configure.cmake
@@ -64,6 +64,10 @@ qt_feature("webengine-system-alsa" PRIVATE
LABEL "Use ALSA"
CONDITION UNIX AND TEST_alsa
)
+qt_feature("webengine-v8-context-snapshot" PRIVATE
+ LABEL "Use v8 context snapshot"
+ CONDITION NOT CMAKE_CROSSCOMPILING
+)
qt_feature("webengine-geolocation" PUBLIC
LABEL "Geolocation"
CONDITION TARGET Qt::Positioning
@@ -204,6 +208,7 @@ qt_configure_add_summary_entry(
ARGS "webengine-system-pulseaudio"
CONDITION LINUX
)
+qt_configure_add_summary_entry(ARGS "webengine-v8-context-snapshot")
qt_configure_end_summary_section() # end of "Qt WebEngineCore" section
if(CMAKE_CROSSCOMPILING)
check_thumb(armThumb)