summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-07-22 10:10:41 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-20 08:47:40 +0000
commitaceece3f62bd702eb2d535279fce7b17b0fb4ad8 (patch)
tree59a5c3a60af234f69ac4a248a0bacf5c907ab807 /configure.cmake
parent5df6af0652939c8bad85ca7c8d5b948c0a1a6255 (diff)
Apparently we build fine with node.js 10.19 on Ubuntu
Fixes confusing configure output Change-Id: I17812524e3452d3b271a677d3877d1365ccfc38f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 900c5d96a5c85b24eafddef78546423259898259) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 acea287e6..1086ba43a 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()
@@ -362,7 +362,7 @@ add_check_for_support(
add_check_for_support(
MODULES QtWebEngine QtPdf
CONDITION TARGET Nodejs::Nodejs
- MESSAGE "Nodejs is required."
+ MESSAGE "node.js version 10.19 or later is required."
)
add_check_for_support(
MODULES QtWebEngine QtPdf