Skip to content
Snippets Groups Projects
Commit 8dfd0254 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

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

parent 78444fc3
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment