Skip to content

Commit adb68d1

Browse files
committed
(cmake) only keep conditional HDF5 find
1 parent 238e268 commit adb68d1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/Dependencies.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ list(APPEND Caffe_LINKER_LIBS PUBLIC ${GFLAGS_LIBRARIES})
4343
include(cmake/ProtoBuf.cmake)
4444

4545
# ---[ HDF5
46-
find_package(HDF5 COMPONENTS HL REQUIRED)
47-
list(APPEND Caffe_INCLUDE_DIRS PUBLIC ${HDF5_INCLUDE_DIRS})
48-
list(APPEND Caffe_LINKER_LIBS PUBLIC ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})
49-
5046
# This code is taken from https://github.com/sh1r0/caffe-android-lib
5147
if(USE_HDF5)
5248
find_package(HDF5 COMPONENTS HL REQUIRED)

0 commit comments

Comments
 (0)