[Bf-blender-cvs] [ddc9c76] master: CMake: Silent Numpy warning on OSX

Sergey Sharybin noreply at git.blender.org
Mon Feb 1 10:40:25 CET 2016


Commit: ddc9c76e3a1808469e442befd06fbbc060c28c3e
Author: Sergey Sharybin
Date:   Mon Feb 1 10:39:16 2016 +0100
Branches: master
https://developer.blender.org/rBddc9c76e3a1808469e442befd06fbbc060c28c3e

CMake: Silent Numpy warning on OSX

It is in the archive actually and being installed nicely by the looks of it.

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20215fb..f0cd194 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)




More information about the Bf-blender-cvs mailing list