mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
remove useless Python version variable
This commit is contained in:
parent
1f22df7813
commit
6575a60ae2
@ -630,9 +630,7 @@ ENDIF (DISABLE_DEPRECATED)
|
||||
#############################################################
|
||||
# Python build dependency
|
||||
|
||||
SET(PYTHON_VER 3 CACHE STRING "Python version")
|
||||
|
||||
FIND_PACKAGE(PythonInterp ${PYTHON_VER} REQUIRED)
|
||||
FIND_PACKAGE(PythonInterp 3 REQUIRED)
|
||||
|
||||
#############################################################
|
||||
# Python bindings
|
||||
|
@ -20,7 +20,7 @@
|
||||
#
|
||||
|
||||
# Need python interpreter:
|
||||
FIND_PACKAGE(PythonInterp ${PYTHON_VER} REQUIRED)
|
||||
FIND_PACKAGE(PythonInterp 3 REQUIRED)
|
||||
MARK_AS_ADVANCED(PYTHON_EXECUTABLE)
|
||||
|
||||
MACRO(ADD_PYTHON_TEST TESTNAME FILENAME)
|
||||
|
Loading…
x
Reference in New Issue
Block a user