From: adam Date: Mon, 21 Feb 2011 13:23:25 +0000 (+0000) Subject: Add the -DWITH_NUMPY when numpy is found X-Git-Tag: Start_BR_19998_21191~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2d80092f057db7b680da429227c9de106488ec9a;p=modules%2Fkernel.git Add the -DWITH_NUMPY when numpy is found --- diff --git a/salome_adm/cmake_files/FindPYTHON.cmake b/salome_adm/cmake_files/FindPYTHON.cmake index 1748b93c3..b7c2fe754 100644 --- a/salome_adm/cmake_files/FindPYTHON.cmake +++ b/salome_adm/cmake_files/FindPYTHON.cmake @@ -210,7 +210,7 @@ IF(PYTHON_STATUS) SET(NUMPY_STATUS 1) ENDIF(NUMPY_INCLUDE_DIR) IF(NUMPY_STATUS) - SET(PYTHON_INCLUDES ${PYTHON_INCLUDES} -I${NUMPY_INCLUDE_DIR}) + SET(PYTHON_INCLUDES ${PYTHON_INCLUDES} -DWITH_NUMPY -I${NUMPY_INCLUDE_DIR}) MESSAGE(STATUS "numpy found : ${NUMPY_INCLUDE_DIR}") ELSE(NUMPY_STATUS) MESSAGE(STATUS "numpy not found")