Commit 8dfd0254 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: MSVC: python one line code does not work on windows

parent 78444fc3
......@@ -5,7 +5,7 @@
# NUMPY_INCLUDE_DIR - where to find numpy/arrayobject.h, etc.
EXEC_PROGRAM ("${PYTHON_EXECUTABLE}"
ARGS "-c 'import numpy; print numpy.get_include()'"
ARGS "${CMAKE_SOURCE_DIR}/CMake/otbTestNumpy.py"
OUTPUT_VARIABLE NUMPY_INCLUDE_DIR
RETURN_VALUE NUMPY_NOT_FOUND)
......
import numpy
print numpy.get_include()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment