From 167a26642e58486a06517bdf6c1b3cdeae7152ac Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Wed, 22 Jan 2014 15:26:14 +0100 Subject: [PATCH] fix message sent to user during cross_compilation --- cmake/OpenCVDetectPython.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmake/OpenCVDetectPython.cmake b/cmake/OpenCVDetectPython.cmake index 618b0fd..d02b759 100644 --- a/cmake/OpenCVDetectPython.cmake +++ b/cmake/OpenCVDetectPython.cmake @@ -84,11 +84,9 @@ if(PYTHON_EXECUTABLE) if(CMAKE_CROSSCOMPILING) message(STATUS "Cannot probe for Python/Numpy support (because we are cross-compiling OpenCV)") message(STATUS "If you want to enable Python/Numpy support, set the following variables:") - message(STATUS " PYTHON_EXECUTABLE") - message(STATUS " PYTHON_INCLUDE_DIR") - message(STATUS " PYTHON_LIBRARY") + message(STATUS " PYTHON_INCLUDE_PATH") + message(STATUS " PYTHON_LIBRARIES") message(STATUS " PYTHON_NUMPY_INCLUDE_DIR") - message(STATUS " PYTHON_NUMPY_VERSION") else() # Attempt to discover the NumPy include directory. If this succeeds, then build python API with NumPy execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import os; os.environ['DISTUTILS_USE_SDK']='1'; import numpy.distutils; print numpy.distutils.misc_util.get_numpy_include_dirs()[0]" -- 2.7.4