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 ZengpanFan committed Aug 26, 2016
1 parent 5429980 commit 3d9e744
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 3d9e744

Please sign in to comment.