IF(NOT SALOME_MED_STANDALONE)
FIND_PACKAGE(SalomeOmniORBPy REQUIRED)
ENDIF(NOT SALOME_MED_STANDALONE)
+ # Set the extra flags for SWIG for numpy and scipy
+ SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY)
+ IF(NUMPY_FOUND)
+ SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY "-DWITH_NUMPY")
+ ENDIF(NUMPY_FOUND)
+ IF(SCIPY_FOUND)
+ SET(SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY "${SWIG_EXTRA_FLAGS_FOR_NUMPYANDSCIPY};-DWITH_SCIPY")
+ ENDIF(SCIPY_FOUND)
ENDIF(SALOME_MED_ENABLE_PYTHON)
# Detection report