From 5f5a477dbf0d78c0da3726432e2a4096da654dca Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 27 May 2020 16:01:04 -0500 Subject: [PATCH] Changed build to require python3 instead of python2 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eaf7f0b6f..e61c67800 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -432,11 +432,11 @@ else() endif() # Python is used for the manual and (possibly) message catalogs -find_package( Python2 ) -if( Python2_FOUND ) - set( PYTHON "${Python2_EXECUTABLE}" ) +find_package( Python3 ) +if( Python3_FOUND ) + set( PYTHON "${Python3_EXECUTABLE}" ) elseif( CMAKE_SYSTEM_NAME MATCHES "Windows" ) - nuget_package( pkgdir "python2" "2.7.17" ) + nuget_package( pkgdir "python3" "3.7.7" ) file( TO_NATIVE_PATH "${pkgdir}/tools/python.exe" PYTHON ) endif()