mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
fix CMake command issue spotted by @paulromano
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
77bbe88860
commit
16a6f00c17
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ endif()
|
|||
# Version 1.12 of HDF5 deprecates the H5Oget_info_by_idx() interface.
|
||||
# Thus, we give these flags to allow usage of the old interface in newer
|
||||
# versions of HDF5.
|
||||
if(${HDF5_VERSION} VERSION_GREATER_EQUAL "1.12.0")
|
||||
if(NOT (${HDF5_VERSION} VERSION_LESS 1.12.0))
|
||||
list(APPEND cxxflags -DH5Oget_info_by_idx_vers=1 -DH5O_info_t_vers=1)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue