Skip to content

Commit

Permalink
support hdf5 cmake system, possibly legacy (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed May 13, 2021
1 parent a6c9e99 commit b781b7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmake/thirdparty/SetupHDF5.cmake
Expand Up @@ -259,6 +259,9 @@ elseif(WIN32 AND TARGET hdf5::hdf5-static )
message(STATUS "HDF5 using hdf5::hdf5-static target")
blt_register_library(NAME hdf5
LIBRARIES hdf5::hdf5-static)
elseif(TARGET hdf5)
# legacy hdf5 CMake build system support creates an hdf5 target we use directly
message(STATUS "HDF5 using hdf5 target")
else()
# reg includes and libs with blt
message(STATUS "HDF5 using HDF5_DEFINITIONS + HDF5_INCLUDE_DIRS + HDF5_LIBRARIES")
Expand Down

0 comments on commit b781b7c

Please sign in to comment.