File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,12 @@ project(binsparse)
44set (CMAKE_CXX_STANDARD 20)
55set (CMAKE_CXX_STANDARD_REQUIRED ON )
66
7- find_package (HDF5 REQUIRED COMPONENTS CXX)
87add_subdirectory (include )
98
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} )
12+
1013if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
1114 # Dependencies needed only for examples/test
1215
Original file line number Diff line number Diff line change 11add_library (binsparse INTERFACE )
2-
3- target_link_libraries (binsparse INTERFACE ${HDF5_CXX_LIBRARIES} )
4-
5- target_include_directories (binsparse INTERFACE . HighFive ${HDF5_INCLUDE_DIRS} )
2+ target_include_directories (binsparse INTERFACE .)
You can’t perform that action at this time.
0 commit comments