1
0
Fork 0

cmake: don't allow Python 3 interpreter (gyp only works with Python 2)

This commit is contained in:
Simran Brucherseifer 2016-08-26 11:01:55 +02:00
parent 7a308c1d76
commit f8902b578f
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ else ()
set(MAKE make)
endif ()
find_package(PythonInterp 2 REQUIRED)
find_package(PythonInterp 2 EXACT REQUIRED)
get_filename_component(PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" REALPATH)
################################################################################