Python3 mandatory

This commit is contained in:
Bertrand Songis
2019-10-04 13:55:55 +02:00
parent be95296e15
commit 63325ed7bf
+1 -1
View File
@@ -65,7 +65,7 @@ if(WIN32)
endif()
# Python check
find_package("PythonInterp")
find_package(PythonInterp 3)
if(PYTHONINTERP_FOUND)
message(STATUS "Python found, version: ${PYTHON_VERSION_STRING}")
get_filename_component(PYTHON_DIRECTORY ${PYTHON_EXECUTABLE} DIRECTORY)