Portability fixes

This commit is contained in:
LAVAUX Guilhem 2020-02-10 08:40:17 +01:00
parent 71691956cc
commit cf90393c36
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ IF(YORICK_SUPPORT)
ENDIF(YORICK_SUPPORT) ENDIF(YORICK_SUPPORT)
find_program(CYTHON cython3 cython) find_program(CYTHON cython3 cython)
find_library(ZLIB z) find_library(ZLIB_LIBRARY z)
find_library(DL_LIBRARY dl) find_library(DL_LIBRARY dl)
find_library(MATH_LIBRARY m) find_library(MATH_LIBRARY m)

View File

@ -79,7 +79,7 @@ if(YORICK_SUPPORT)
endif(YORICK_SUPPORT) endif(YORICK_SUPPORT)
if (HDF5_FOUND) 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}") message(STATUS "CosmoTool_LIBS: ${CosmoTool_LIBS}")
endif (HDF5_FOUND) endif (HDF5_FOUND)

View File

@ -34,7 +34,7 @@ knowledge of the CeCILL license and that you accept its terms.
+*/ +*/
#include <sys/types.h> #include <sys/types.h>
#include "/usr/include/regex.h" #include <regex.h>
#include <cmath> #include <cmath>
#include <cstring> #include <cstring>
#include <cstdlib> #include <cstdlib>