#1676 Disable HDF5 by default

This commit is contained in:
Magne Sjaastad 2017-08-07 12:36:29 +02:00
parent c6575460da
commit ca1e08a1a4

View File

@ -179,8 +179,7 @@ add_subdirectory(GeoMech/GeoMechDataModel)
# #
# HDF5 # HDF5
#option(RESINSIGHT_ENABLE_HDF5 "Use HDF5" OFF) option(RESINSIGHT_ENABLE_HDF5 "Use HDF5" OFF)
set(RESINSIGHT_ENABLE_HDF5 true)
if(RESINSIGHT_ENABLE_HDF5) if(RESINSIGHT_ENABLE_HDF5)
add_definitions(-DH5_BUILT_AS_DYNAMIC_LIB) add_definitions(-DH5_BUILT_AS_DYNAMIC_LIB)
find_package(HDF5 REQUIRED COMPONENTS CXX) find_package(HDF5 REQUIRED COMPONENTS CXX)