Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: brew install qt@5

- name: Install Dependencies
run: brew install ninja protobuf@29 hdf5@1.10 pkg-config capnp ccache
run: brew install ninja protobuf@29 hdf5 pkg-config capnp ccache

- name: Checkout
uses: actions/checkout@v6
Expand Down Expand Up @@ -70,7 +70,6 @@ jobs:
- name: CMake
id: cmake-configure
run: |
HDF5_PREFIX="$(brew --prefix hdf5@1.10)"
QT5_PREFIX="$(brew --prefix qt@5)"
PB_PREFIX="$(brew --prefix protobuf@29)"

Expand Down
21 changes: 21 additions & 0 deletions contrib/ecalhdf5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,27 @@ project(hdf5 LANGUAGES C CXX)
if(NOT CMAKE_CROSSCOMPILING)
find_package(HDF5 COMPONENTS C REQUIRED)
find_package(Threads REQUIRED)

message(STATUS "HDF5_FOUND=${HDF5_FOUND}")
message(STATUS "HDF5_VERSION=${HDF5_VERSION}")
message(STATUS "HDF5_INCLUDE_DIRS=${HDF5_INCLUDE_DIRS}")
message(STATUS "HDF5_LIBRARIES=${HDF5_LIBRARIES}")

foreach(t
hdf5::hdf5
hdf5::hdf5-shared
hdf5::hdf5-static
HDF5::hdf5
HDF5::hdf5-shared
HDF5::hdf5-static
HDF5::HDF5
HDF5::C
)
if(TARGET ${t})
message(STATUS "HDF5 target exists: ${t}")
endif()
endforeach()

else()
find_library(hdf5_path NAMES hdf5 REQUIRED PATH_SUFFIXES hdf5/serial)
find_path(hdf5_include NAMES hdf5.h PATH_SUFFIXES hdf5/serial REQUIRED)
Expand Down
Loading