From 77fdf426d60e7461cbb6450d712ed6bf8e7fba09 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 4 Dec 2012 17:54:32 +0000 Subject: [PATCH] disable numpy warning with cmake, since we didnt end up bundling this with blender yet. --- CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0954d5ce878..1b642bb24c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1932,12 +1932,13 @@ if(WITH_PYTHON) if(WITH_PYTHON_INSTALL AND WITH_PYTHON_INSTALL_NUMPY) # set but invalid + # -- disabled until we make numpy bundled with blender - campbell if(NOT ${PYTHON_NUMPY_PATH} STREQUAL "") - if(NOT EXISTS "${PYTHON_NUMPY_PATH}/numpy") - message(WARNING "PYTHON_NUMPY_PATH is invalid, numpy not found in '${PYTHON_NUMPY_PATH}' " - "WITH_PYTHON_INSTALL_NUMPY option will be ignored when installing python") - set(WITH_PYTHON_INSTALL_NUMPY OFF) - endif() +# if(NOT EXISTS "${PYTHON_NUMPY_PATH}/numpy") +# message(WARNING "PYTHON_NUMPY_PATH is invalid, numpy not found in '${PYTHON_NUMPY_PATH}' " +# "WITH_PYTHON_INSTALL_NUMPY option will be ignored when installing python") +# set(WITH_PYTHON_INSTALL_NUMPY OFF) +# endif() # not set, so initialize else() string(REPLACE "." ";" _PY_VER_SPLIT "${PYTHON_VERSION}")