Portability fixes
This commit is contained in:
parent
71691956cc
commit
cf90393c36
@ -55,7 +55,7 @@ IF(YORICK_SUPPORT)
|
||||
ENDIF(YORICK_SUPPORT)
|
||||
|
||||
find_program(CYTHON cython3 cython)
|
||||
find_library(ZLIB z)
|
||||
find_library(ZLIB_LIBRARY z)
|
||||
find_library(DL_LIBRARY dl)
|
||||
find_library(MATH_LIBRARY m)
|
||||
|
||||
|
@ -79,7 +79,7 @@ if(YORICK_SUPPORT)
|
||||
endif(YORICK_SUPPORT)
|
||||
|
||||
if (HDF5_FOUND)
|
||||
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CXX_LIBRARIES} ${HDF5_HL_LIBRARIES} ${HDF5_LIBRARIES} ${ZLIB})
|
||||
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CXX_LIBRARIES} ${HDF5_HL_LIBRARIES} ${HDF5_LIBRARIES} ${ZLIB_LIBRARY})
|
||||
message(STATUS "CosmoTool_LIBS: ${CosmoTool_LIBS}")
|
||||
endif (HDF5_FOUND)
|
||||
|
||||
|
@ -34,7 +34,7 @@ knowledge of the CeCILL license and that you accept its terms.
|
||||
+*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "/usr/include/regex.h"
|
||||
#include <regex.h>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
|
Loading…
Reference in New Issue
Block a user