[MSVC] Preliminary VS2017 support.

This commit is contained in:
lazydodo
2016-11-16 20:13:58 -07:00
parent 60409841a4
commit 16e2c0ef3c
3 changed files with 20 additions and 4 deletions

View File

@@ -714,7 +714,7 @@ elseif(WIN32)
if(WITH_PYTHON_INSTALL_NUMPY)
set(PYTHON_NUMPY_VERSION 1.9)
if(MSVC_VERSION EQUAL 1900)
if((MSVC_VERSION EQUAL 1900) OR (MSVC_VERSION EQUAL 1910))
set(PYTHON_NUMPY_VERSION 1.11)
endif()
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${BLENDER_VERSION}/python/lib/site-packages