Skip to content
Snippets Groups Projects
Commit 1800fb88 authored by Emmanuel Papillon's avatar Emmanuel Papillon
Browse files

* add explicit ENABLE_HDF5_GZ in CMakeList

parent d824eb52
No related branches found
No related tags found
No related merge requests found
......@@ -110,6 +110,11 @@ if(DEFINED ENV{LIMA_ENABLE_HDF5})
else()
option(LIMA_ENABLE_HDF5 "compile HDF5 saving code?" OFF)
endif()
if(DEFINED ENV{LIMA_ENABLE_HDF5_GZ})
set(LIMA_ENABLE_HDF5_GZ "$ENV{LIMA_ENABLE_HDF5_GZ}" CACHE BOOL "compile HDF5/GZ saving code?" FORCE)
else()
option(LIMA_ENABLE_HDF5_GZ "compile HDF5/GZ saving code?" OFF)
endif()
if(DEFINED ENV{LIMA_ENABLE_HDF5_BS})
set(LIMA_ENABLE_HDF5_BS "$ENV{LIMA_ENABLE_HDF5_BS}" CACHE BOOL "compile HDF5/BS saving code?" FORCE)
else()
......@@ -275,7 +280,8 @@ endif()
#--------------------------------------------------------------------------------
set(saving_libs)
set(saving_includes)
if(LIMA_ENABLE_EDFGZ)
if(LIMA_ENABLE_EDFGZ OR LIMA_ENABLE_HDF5_GZ)
if(WIN32)
if (${CMAKE_GENERATOR} MATCHES "Win64$")
set(ZLIB_ARCH "win64")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment