mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02:00
Changed build to require python3 instead of python2
This commit is contained in:
parent
bf5cd11a43
commit
5f5a477dbf
@ -432,11 +432,11 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Python is used for the manual and (possibly) message catalogs
|
# Python is used for the manual and (possibly) message catalogs
|
||||||
find_package( Python2 )
|
find_package( Python3 )
|
||||||
if( Python2_FOUND )
|
if( Python3_FOUND )
|
||||||
set( PYTHON "${Python2_EXECUTABLE}" )
|
set( PYTHON "${Python3_EXECUTABLE}" )
|
||||||
elseif( CMAKE_SYSTEM_NAME MATCHES "Windows" )
|
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 )
|
file( TO_NATIVE_PATH "${pkgdir}/tools/python.exe" PYTHON )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user