diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-05-02 18:16:35 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-05-02 18:16:35 +0400 |
commit | 3224ac738ee3aeb13ad1329b12621ff0f0e3a322 (patch) | |
tree | 7d9a53c9e942c615f1f27452792059a75a741bd4 /source/creator | |
parent | aa3621c7e653ed703b65005ba55365bd8996fd47 (diff) |
CMake: Fix to install numpy (source dir was "hardcoded", rather use PYTHON_NUMPY_PATH), was failing under Debian testing.
Note that there is still a problem, destination ("site-packages") is not in blender's python path, so you have to edit sys.path before being able to import numpy... but at least it installs again.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index f4c3964ab83..d069811168d 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -441,7 +441,7 @@ if(UNIX AND NOT APPLE) if(WITH_PYTHON_INSTALL_NUMPY) install( - DIRECTORY ${PYTHON_LIBPATH}/python${PYTHON_VERSION}/site-packages/numpy + DIRECTORY ${PYTHON_NUMPY_PATH}/numpy DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/site-packages PATTERN ".svn" EXCLUDE PATTERN "__pycache__" EXCLUDE # * any cache * |