Skip to content

Commit

Permalink
CMake: link with ${HDF5_HL_LIBRARIES}
Browse files Browse the repository at this point in the history
Fixes issue BVLC#3224.
  • Loading branch information
intelfx committed Jul 28, 2016
1 parent 1c5c4c7 commit 92fbfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include(cmake/ProtoBuf.cmake)
# ---[ HDF5
find_package(HDF5 COMPONENTS HL REQUIRED)
include_directories(SYSTEM ${HDF5_INCLUDE_DIRS} ${HDF5_HL_INCLUDE_DIR})
list(APPEND Caffe_LINKER_LIBS ${HDF5_LIBRARIES})
list(APPEND Caffe_LINKER_LIBS ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})

# ---[ LMDB
if(USE_LMDB)
Expand Down

1 comment on commit 92fbfb9

@anjiang2016
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank u, use this,ti works

Please sign in to comment.