We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7cf335 commit ddbb8ebCopy full SHA for ddbb8eb
cmake/Modules/FindNumpy.cmake
@@ -13,7 +13,7 @@ INCLUDE(FindPythonInterp)
13
14
IF(PYTHON_EXECUTABLE)
15
EXEC_PROGRAM ("${PYTHON_EXECUTABLE}"
16
- ARGS "-c \"import sys; import numpy; sys.stdout.write(numpy.get_include())\""
+ ARGS "-c \"import sys; import numpy; print(numpy.get_include())\""
17
OUTPUT_VARIABLE PYTHON_NUMPY_INCLUDE_DIR
18
RETURN_VALUE PYTHON_NUMPY_NOT_FOUND)
19
@@ -35,4 +35,4 @@ else (PYTHON_NUMPY_FOUND)
35
endif (PYTHON_NUMPY_FIND_REQUIRED)
36
endif (PYTHON_NUMPY_FOUND)
37
38
-MARK_AS_ADVANCED (PYTHON_NUMPY_INCLUDE_DIR)
+MARK_AS_ADVANCED (PYTHON_NUMPY_INCLUDE_DIR)
0 commit comments