From 900c5d96a5c85b24eafddef78546423259898259 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 22 Jul 2021 10:10:41 +0200 Subject: 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 --- configure.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.cmake') 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 -- cgit v1.2.1