macOS: use python version 3.6 when building blender

This commit is contained in:
Arto Kitula 2017-09-20 00:07:56 +03:00
parent c87c1ec1da
commit 46300a541d

@ -88,7 +88,7 @@ endif()
if(WITH_PYTHON) if(WITH_PYTHON)
# we use precompiled libraries for py 3.5 and up by default # we use precompiled libraries for py 3.5 and up by default
set(PYTHON_VERSION 3.5) set(PYTHON_VERSION 3.6)
if(NOT WITH_PYTHON_MODULE AND NOT WITH_PYTHON_FRAMEWORK) if(NOT WITH_PYTHON_MODULE AND NOT WITH_PYTHON_FRAMEWORK)
# normally cached but not since we include them with blender # normally cached but not since we include them with blender
set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}m") set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}m")