Added ZLIB

This commit is contained in:
Guilhem Lavaux 2015-04-27 17:34:34 +02:00
parent 5b6f0ab4ae
commit e90facc715
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ IF(YORICK_SUPPORT)
ENDIF(YORICK_SUPPORT) ENDIF(YORICK_SUPPORT)
find_program(CYTHON cython) find_program(CYTHON cython)
find_library(ZLIB z)
if(HDF5_ROOTDIR) if(HDF5_ROOTDIR)
SET(ENV{HDF5_ROOT} ${HDF5_ROOTDIR}) SET(ENV{HDF5_ROOT} ${HDF5_ROOTDIR})

View File

@ -36,6 +36,7 @@ target_link_libraries(testPool ${tolink})
if (HDF5_FOUND) if (HDF5_FOUND)
include_directories(${HDF5_INCLUDE_PATH}) include_directories(${HDF5_INCLUDE_PATH})
SET(tolink ${tolink} ${ZLIB})
add_executable(testReadFlash testReadFlash.cpp) add_executable(testReadFlash testReadFlash.cpp)
target_link_libraries(testReadFlash ${tolink}) target_link_libraries(testReadFlash ${tolink})