Python3 mandatory
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Python check
|
# Python check
|
||||||
find_package("PythonInterp")
|
find_package(PythonInterp 3)
|
||||||
if(PYTHONINTERP_FOUND)
|
if(PYTHONINTERP_FOUND)
|
||||||
message(STATUS "Python found, version: ${PYTHON_VERSION_STRING}")
|
message(STATUS "Python found, version: ${PYTHON_VERSION_STRING}")
|
||||||
get_filename_component(PYTHON_DIRECTORY ${PYTHON_EXECUTABLE} DIRECTORY)
|
get_filename_component(PYTHON_DIRECTORY ${PYTHON_EXECUTABLE} DIRECTORY)
|
||||||
|
|||||||
Reference in New Issue
Block a user