From 69bd00b20549c9d1d69b1b95d2fea88d12ac8489 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 27 Apr 2012 15:10:15 +0000 Subject: [PATCH] Little type error. --- salome_adm/cmake_files/FindHDF5.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salome_adm/cmake_files/FindHDF5.cmake b/salome_adm/cmake_files/FindHDF5.cmake index cae470d58..040df24c7 100644 --- a/salome_adm/cmake_files/FindHDF5.cmake +++ b/salome_adm/cmake_files/FindHDF5.cmake @@ -169,15 +169,15 @@ IF(HDF5_STATUS) EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "import re,sys ; f=file(sys.argv[1]) ; s=f.read() ; c=re.compile('^#[\\s]*define[\\s]+H5_HAVE_PARALLEL[\\s]+(?P[\\d]+)',re.M) ; m=c.search(s); exec('if m: sys.stdout.write(m.group(\\'nm\\'))') ; exec('if not m: sys.stdout.write(\\'0\\')')" ${HDF5_H5PUBLIC_DEFS_FILE} - OUTPUT_VARIABLE HD5_HAVE_PARALLEL + OUTPUT_VARIABLE HDF5_HAVE_PARALLEL ) - IF(HD5_HAVE_PARALLEL) + IF(HDF5_HAVE_PARALLEL) MESSAGE(STATUS "hdf5 is parallel") SET(HDF5_INCLUDES ${HDF5_INCLUDES} -I${MPI_INCLUDES_DIR}) # to remove after "cmakeization" SET(HDF5_INCLUDES_DIR ${HDF5_INCLUDES_DIR} ${MPI_INCLUDES_DIR}) SET(HDF5_FLAGS "${HDF5_FLAGS} ${MPI_FLAGS}") SET(HDF5_LIBS ${HDF5_LIBS} ${MPI_LIBS}) - ENDIF(HD5_HAVE_PARALLEL) + ENDIF(HDF5_HAVE_PARALLEL) ENDIF(HDF5_STATUS) # ---- -- 2.39.2