diff --git a/moose-core/VERSION b/moose-core/VERSION deleted file mode 100644 index be86c279151169a3b44db8eeee9dc085e5a7ccb1..0000000000000000000000000000000000000000 --- a/moose-core/VERSION +++ /dev/null @@ -1 +0,0 @@ -3.1.1-166-g4ffcca5 \ No newline at end of file diff --git a/moose-core/cmake_modules/FindNumPy.cmake b/moose-core/cmake_modules/FindNumPy.cmake index b2813e9cd2c46a747b3ac31ee2c3459c32db59d0..83c74d47b7592276d595d0e32be2a96577a9852a 100644 --- a/moose-core/cmake_modules/FindNumPy.cmake +++ b/moose-core/cmake_modules/FindNumPy.cmake @@ -52,7 +52,7 @@ if(NOT PYTHONINTERP_FOUND) return() endif() -execute_process(COMMAND "${PYTHON_EXECUTABLE}" "-c" +execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import numpy as n; print(n.__version__); print(n.get_include());" RESULT_VARIABLE _NUMPY_SEARCH_SUCCESS OUTPUT_VARIABLE _NUMPY_VALUES_OUTPUT