summaryrefslogtreecommitdiffstats
path: root/cmake/Gn.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Gn.cmake')
-rw-r--r--cmake/Gn.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Gn.cmake b/cmake/Gn.cmake
index e8dc956ee..6795cbed4 100644
--- a/cmake/Gn.cmake
+++ b/cmake/Gn.cmake
@@ -15,7 +15,7 @@ include(${WEBENGINE_ROOT_SOURCE_DIR}/cmake/Functions.cmake)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_package(Gn ${QT_REPO_MODULE_VERSION} EXACT)
-find_package(Python2 2.7.5 REQUIRED)
+find_package(Python3 3.7 REQUIRED)
set(gnCmd ${Gn_EXECUTABLE})
set(buildDir ${BUILD_DIR})
@@ -39,7 +39,7 @@ configure_gn_target(
)
list(APPEND gnArg
- --script-executable=${Python2_EXECUTABLE}
+ --script-executable=${Python3_EXECUTABLE}
--root=${WEBENGINE_ROOT_SOURCE_DIR}/src/3rdparty/chromium)
STRING(REGEX REPLACE "\n" ";" printArgArg "${gnArgArg}")