From: mnt Date: Mon, 8 Jun 2015 07:30:21 +0000 (+0300) Subject: Fix compilation error when building with -DSALOME_MED_STANDALONE=ON option X-Git-Tag: V7_7_0a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed8d11f4763e877da33bfc7775447cfb0b3cddf0;p=tools%2Fmedcoupling.git Fix compilation error when building with -DSALOME_MED_STANDALONE=ON option --- diff --git a/src/MEDPartitioner_Swig/CMakeLists.txt b/src/MEDPartitioner_Swig/CMakeLists.txt index 05c8140f0..5245aab2c 100644 --- a/src/MEDPartitioner_Swig/CMakeLists.txt +++ b/src/MEDPartitioner_Swig/CMakeLists.txt @@ -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