mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Imported compile fixes from VIDE private repository
This commit is contained in:
parent
787cdee4c3
commit
d937b2fa80
4 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,7 @@ check_c_compiler_flag(-march=native SUPPORT_ARCH_NATIVE )
|
|||
|
||||
|
||||
find_library(MATH_LIB m)
|
||||
find_library(DL_LIB dl)
|
||||
|
||||
macro(add_genopt _sourcelist _ggofile _basefile)
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ ENDIF (CAIROMMCONFIG_INCLUDE_PATH AND CAIROMM_INCLUDE_PATH AND SIGC_INCLUDE_PATH
|
|||
|
||||
SET(ZOB_LIBS zobovTool
|
||||
${COSMOTOOL_LIBRARY} ${GSL_LIBRARIES}
|
||||
${NETCDF_LIBRARIES})
|
||||
${NETCDF_LIBRARIES} ${DL_LIB})
|
||||
|
||||
|
||||
include_directories(
|
||||
|
|
3
external/cosmotool/src/h5_readFlash.hpp
vendored
3
external/cosmotool/src/h5_readFlash.hpp
vendored
|
@ -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"
|
||||
|
||||
|
|
2
external/external_build.cmake
vendored
2
external/external_build.cmake
vendored
|
@ -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)
|
||||
|
||||
###############
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue