We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddbb8eb commit ac23eaaCopy full SHA for ac23eaa
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; print(numpy.get_include())\""
+ ARGS "-c \"import sys; import numpy; print(numpy.get_include(),end='')\""
17
OUTPUT_VARIABLE PYTHON_NUMPY_INCLUDE_DIR
18
RETURN_VALUE PYTHON_NUMPY_NOT_FOUND)
19
0 commit comments