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 authored and fxbit committed Sep 1, 2016
1 parent aea5019 commit 1ce54d0
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

0 comments on commit 1ce54d0

Please sign in to comment.