mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Respect RESINSIGHT_ENABLED_HDF5 flag on linux.
This commit is contained in:
parent
b324fdb26b
commit
3f2c669bc4
@ -422,6 +422,7 @@ if(MSVC)
|
||||
)
|
||||
endif()
|
||||
else()
|
||||
if(RESINSIGHT_ENABLE_HDF5)
|
||||
find_package(HDF5 COMPONENTS CXX)
|
||||
if(HDF5_FOUND)
|
||||
list(APPEND EXTERNAL_LINK_LIBRARIES ${HDF5_LIBRARIES})
|
||||
@ -438,6 +439,7 @@ else()
|
||||
else()
|
||||
message(WARNING "Use of HDF5 is enabled, but no HDF5 is found.")
|
||||
endif() # HDF5_FOUND
|
||||
endif()
|
||||
endif() # MSVC
|
||||
|
||||
# ##############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user