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)
4
4
set (CMAKE_CXX_STANDARD 20 )
5
5
set (CMAKE_CXX_STANDARD_REQUIRED ON )
6
6
7
- find_package (HDF5 REQUIRED COMPONENTS CXX )
8
7
add_subdirectory (include )
9
8
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
+
10
13
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME )
11
14
# Dependencies needed only for examples/test
12
15
Original file line number Diff line number Diff line change 1
1
add_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