Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-30 18:51:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-30 18:51:40 +0400
commit80ca8f27925c53a415b202e76767e4d2dac1960e (patch)
treebdf9ec08e09ea2e59dde5d474155d77cb1725454 /CMakeLists.txt
parent112162e09e486d787ace5ea4373fde8106f898c0 (diff)
disable numpy installing if not found
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 577a0c9ba05..d91212fa47d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1618,6 +1618,7 @@ if(WITH_PYTHON)
if(NOT EXISTS "${PYTHON_LIBPATH}/python${PYTHON_VERSION}/site-packages/numpy")
message(WARNING "Numpy path '${PYTHON_LIBPATH}/python${PYTHON_VERSION}/site-packages/numpy' is missing, "
"WITH_PYTHON_INSTALL_NUMPY option will be ignored when installing python")
+ set(WITH_PYTHON_INSTALL_NUMPY OFF)
endif()
endif()
endif()