Build system support for numpy on ms-windows

This commit is contained in:
Campbell Barton
2014-03-05 00:20:11 +11:00
parent 6ebbcbd5df
commit c436c78de1
3 changed files with 31 additions and 1 deletions

View File

@@ -2209,7 +2209,9 @@ if(WITH_PYTHON)
"Python.h for python version \"${PYTHON_VERSION}\"")
endif()
if(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY)
if(WIN32)
# pass, we have this in an archive to extract
elseif(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY)
# set but invalid
# -- disabled until we make numpy bundled with blender - campbell
if((NOT ${PYTHON_NUMPY_PATH} STREQUAL "") AND (NOT ${PYTHON_NUMPY_PATH} MATCHES NOTFOUND))