~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to cmake/modules/FindNumPy.cmake

  • Committer: Corrado Maurini
  • Date: 2013-01-29 07:54:53 UTC
  • mfrom: (6685.78.336 work-trunk)
  • Revision ID: corrado.maurini@upmc.fr-20130129075453-ngcx0bdmc9yarrn5
merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
execute_process(
42
42
  COMMAND ${PYTHON_EXECUTABLE} -c "import numpy; print numpy.get_include()"
43
43
  OUTPUT_VARIABLE NUMPY_INCLUDE_DIR
44
 
  RESULT_VARIABLE NUMPY_NOT_FOUND)
 
44
  RESULT_VARIABLE NUMPY_NOT_FOUND
 
45
  OUTPUT_STRIP_TRAILING_WHITESPACE
 
46
  )
45
47
 
46
48
if(NUMPY_INCLUDE_DIR)
47
49
  set(NUMPY_FOUND TRUE)