[Bf-blender-cvs] [54e8b0ad577] experimental-build: More attemps to fix numpy building...
Bastien Montagne
noreply at git.blender.org
Mon Dec 14 15:41:12 CET 2020
Commit: 54e8b0ad577bfc0d957db774fb5beb2285bfa36b
Author: Bastien Montagne
Date: Mon Dec 14 15:40:46 2020 +0100
Branches: experimental-build
https://developer.blender.org/rB54e8b0ad577bfc0d957db774fb5beb2285bfa36b
More attemps to fix numpy building...
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 03508791623..a3b67085f7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -354,7 +354,10 @@ elseif(WITH_PYTHON_INSTALL OR (WITH_AUDASPACE AND NOT WITH_SYSTEM_AUDASPACE) OR
set(PYTHON_NUMPY_PATH "" CACHE PATH "Path to python site-packages or dist-packages containing 'numpy' module")
mark_as_advanced(PYTHON_NUMPY_PATH)
- set(PYTHON_NUMPY_INCLUDE_DIRS "" CACHE PATH "Path to the include directory of the NumPy module")
+
+ # We still need to set it up here as default for windows/apple builds.
+ set(PYTHON_NUMPY_INCLUDE_DIRS "${PYTHON_NUMPY_PATH}/numpy/core/include"
+ CACHE PATH "Path to the include directory of the NumPy module")
mark_as_advanced(PYTHON_NUMPY_INCLUDE_DIRS)
endif()
if(WITH_PYTHON_INSTALL)
More information about the Bf-blender-cvs
mailing list