CMake: Silent Numpy warning on OSX

It is in the archive actually and being installed nicely by the looks of it.
This commit is contained in:
Sergey Sharybin
2016-02-01 10:39:16 +01:00
parent 8aef306a42
commit ddc9c76e3a

View File

@@ -2854,7 +2854,7 @@ if(WITH_PYTHON)
"Python.h for python version \"${PYTHON_VERSION}\"") "Python.h for python version \"${PYTHON_VERSION}\"")
endif() endif()
if(WIN32) if(WIN32 OR APPLE)
# pass, we have this in an archive to extract # pass, we have this in an archive to extract
elseif(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY) elseif(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY)
find_python_package(numpy) find_python_package(numpy)