]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Fix compilation error when building with -DSALOME_MED_STANDALONE=ON option
authormnt <mnt@opencascade.com>
Mon, 8 Jun 2015 07:30:21 +0000 (10:30 +0300)
committermnt <mnt@opencascade.com>
Mon, 8 Jun 2015 07:30:21 +0000 (10:30 +0300)
src/MEDPartitioner_Swig/CMakeLists.txt

index 05c8140f0a998768e1bce104edebcce221347322..5245aab2c444391c5cf80f421e85d67018450cb2 100644 (file)
@@ -19,7 +19,7 @@
 
 INCLUDE(${SWIG_USE_FILE})
 
-ADD_DEFINITIONS(${PYTHON_DEFINITIONS})
+ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${HDF5_DEFINITIONS} ${MEDFILE_DEFINITIONS} )
 
 SET_SOURCE_FILES_PROPERTIES(MEDPartitioner.i PROPERTIES CPLUSPLUS ON)
 SET_SOURCE_FILES_PROPERTIES(MEDPartitioner.i PROPERTIES SWIG_DEFINITIONS "-shadow")
@@ -33,6 +33,7 @@ INCLUDE_DIRECTORIES(
   ${PTHREAD_INCLUDE_DIR} # pthread dependancy due to python2.7 library
   ${CMAKE_CURRENT_SOURCE_DIR}
   ${CMAKE_CURRENT_BINARY_DIR}
+  ${HDF5_INCLUDE_DIRS}
   ${MEDFILE_INCLUDE_DIRS}
   ${CMAKE_CURRENT_SOURCE_DIR}/../MEDPartitioner
   ${CMAKE_CURRENT_SOURCE_DIR}/../MEDCoupling_Swig