File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
66
77add_subdirectory (include )
88
9- find_package (HDF5 REQUIRED COMPONENTS CXX)
10- target_link_libraries (binsparse INTERFACE ${HDF5_CXX_LIBRARIES} )
11- target_include_directories (binsparse INTERFACE . ${HDF5_INCLUDE_DIRS} )
9+ find_package (HDF5 REQUIRED COMPONENTS C CXX)
10+ target_link_libraries (binsparse INTERFACE ${HDF5_C_LIBRARIES} hdf5::hdf5_cpp)
1211
1312if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
1413 # Dependencies needed only for examples/test
Original file line number Diff line number Diff line change 22
33#include < H5Cpp.h>
44#include < cassert>
5+ #include < cstdint>
56#include < ranges>
67#include < type_traits>
78#include < vector>
Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ struct type_info<uint64_t> {
4545 }
4646};
4747
48- template <>
49- struct type_info <std::size_t > {
48+ template <typename T>
49+ requires std::is_same_v<T, std::size_t >
50+ struct type_info <T> {
5051 static constexpr auto label () noexcept {
5152 return " uint64" ;
5253 }
You can’t perform that action at this time.
0 commit comments