Imported compile fixes from VIDE private repository

This commit is contained in:
Guilhem Lavaux 2015-06-09 22:06:45 +02:00
parent 787cdee4c3
commit d937b2fa80
4 changed files with 5 additions and 3 deletions

View file

@ -14,7 +14,8 @@ This file has been developped by P. M. Sutter.
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <string>
#include <cstring>
#include "hdf5_flash.h"
#include "H5Cpp.h"

View file

@ -121,7 +121,7 @@ else(INTERNAL_HDF5)
find_library(HDF5HL_LIBRARY hdf5_hl)
endif (INTERNAL_HDF5)
SET(CONFIGURE_CPP_FLAGS "${CONFIGURE_CPP_FLAGS} -I${HDF5_INCLUDE_PATH}")
SET(CONFIGURE_LIBS_FLAGS "-ldl")
SET(CONFIGURE_LIBS_FLAGS "${DL_LIB}")
mark_as_advanced(HDF5_INCLUDE_PATH HDF5_LIBRARY HDF5_CPP_LIBRARY HDF5HL_LIBRARY HDF5HL_CPP_LIBRARY)
###############