summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-07-22 10:10:41 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-07-25 12:01:04 +0200
commit900c5d96a5c85b24eafddef78546423259898259 (patch)
treee018de6e42f6570a4f26515abcbd6a665ac5c9b5 /configure.cmake
parent2107bb21f8009d7939806e5a69f3312ee42323ff (diff)
Apparently we build fine with node.js 10.19 on Ubuntu
Fixes confusing configure output Pick-to: 6.2 Change-Id: I17812524e3452d3b271a677d3877d1365ccfc38f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake
index 9684661e5..6d6920183 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -17,7 +17,7 @@ else()
find_package(Protobuf)
find_package(PkgConfig)
find_package(Snappy)
- find_package(Nodejs)
+ find_package(Nodejs 10.19)
find_package(Qt6 ${PROJECT_VERSION} CONFIG QUIET OPTIONAL_COMPONENTS Gui Widgets Network OpenGL OpenGLWidgets Quick Qml)
endif()
@@ -348,7 +348,7 @@ add_check_for_support(webEngineError webEngineSupport
add_check_for_support(webEngineError webEngineSupport
MODULE QtWebEngine
CONDITION TARGET Nodejs::Nodejs
- MESSAGE "Nodejs is required."
+ MESSAGE "node.js version 10.19 or later is required."
)
add_check_for_support(webEngineError webEngineSupport
MODULE QtWebEngine