summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-06-03 15:43:53 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-06-04 01:54:46 +0200
commit74de8c765b3205a02cc9e2228f9d8a98bb0bbdaf (patch)
treed4aa27f4836355dab0d18f402812397b9bce43fd /configure.cmake
parent227279bf2f22c740f3f2fdc34f1032d4177dc32a (diff)
Skip static builds
Fixes: QTBUG-94189 Change-Id: Ieb3818410435af979309da7cda50f8ed3fca9023 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake
index 37f7ef452..808fc1b39 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -335,6 +335,11 @@ add_check_for_support(webEngineError webEngineSupport
)
add_check_for_support(webEngineError webEngineSupport
MODULE QtWebEngine
+ CONDITION NOT QT_FEATURE_static
+ MESSAGE "Static build is not supported."
+)
+add_check_for_support(webEngineError webEngineSupport
+ MODULE QtWebEngine
CONDITION TARGET Nodejs::Nodejs
MESSAGE "Nodejs is required."
)