diff options
author | Dimitrios Apostolou <jimis@qt.io> | 2021-06-17 13:06:58 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-06-20 12:23:24 +0000 |
commit | 9fa5a13bea3d0c23be073ba0bad5cad7cc8162b9 (patch) | |
tree | bd21bf353f624205537140003651fdc6e14eabb0 /configure.cmake | |
parent | 4e92dc14b86655154f70e8a1093cc9f3aae1604f (diff) |
Fix cmake build error when missing Python2
Fix the following error:
cd /path/to/qtwebengine/build && cmake -E cmake_echo_color --red QtWebEngine\ will\ not\ be\ built:\ Python\ version\ 2\ (2.7.5\ or\ later)\ is\ required.
/bin/sh: 1: Syntax error: "(" unexpected
ninja: build stopped: subcommand failed.
Fix also an identical issue spotted a few lines underneath.
Pick-to: 6.2
Change-Id: I7ce667c182b48c0557bf52b67defc375e67134d6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake index 426811330..53392313b 100644 --- a/configure.cmake +++ b/configure.cmake @@ -349,7 +349,7 @@ add_check_for_support(webEngineError webEngineSupport add_check_for_support(webEngineError webEngineSupport MODULE QtWebEngine CONDITION Python2_FOUND - MESSAGE "Python version 2 (2.7.5 or later) is required." + MESSAGE "Python2 version 2.7.5 or later is required." ) add_check_for_support(webEngineError webEngineSupport MODULE QtWebEngine @@ -379,7 +379,7 @@ add_check_for_support(webEngineError webEngineSupport add_check_for_support(webEngineError webEngineSupport MODULE QtWebEngine CONDITION NOT LINUX OR TEST_khr - MESSAGE "Build requires Khronos development headers for build(see mesa/libegl1-mesa-dev)." + MESSAGE "Build requires Khronos development headers for build - see mesa/libegl1-mesa-dev" ) add_check_for_support(webEngineError webEngineSupport MODULE QtWebEngine |