]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add the -DWITH_NUMPY when numpy is found
authoradam <adam>
Mon, 21 Feb 2011 13:23:25 +0000 (13:23 +0000)
committeradam <adam>
Mon, 21 Feb 2011 13:23:25 +0000 (13:23 +0000)
salome_adm/cmake_files/FindPYTHON.cmake

index 1748b93c3874d01cfe9fbd48e96335affc6f7287..b7c2fe7549e663b5398e07df4ce5fb0e21fdada9 100644 (file)
@@ -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")