From ddc9c76e3a1808469e442befd06fbbc060c28c3e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 1 Feb 2016 10:39:16 +0100 Subject: [PATCH] CMake: Silent Numpy warning on OSX It is in the archive actually and being installed nicely by the looks of it. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 20215fb27df..f0cd1941b49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2854,7 +2854,7 @@ if(WITH_PYTHON) "Python.h for python version \"${PYTHON_VERSION}\"") endif() - if(WIN32) + if(WIN32 OR APPLE) # pass, we have this in an archive to extract elseif(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY) find_python_package(numpy)