summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2016-07-25 09:01:24 +0300
committerIvan Shapovalov <intelfx@intelfx.name>2016-07-25 09:01:44 +0300
commit0ad1284bf6af4ee59f782b72cdf4af0fd194af29 (patch)
tree71e3be2d20df4556058c87275d3afe09f5728da2 /cmake
parent42cd785e4b5ed824a9b2a02a19aa534042b64325 (diff)
downloadcaffe-0ad1284bf6af4ee59f782b72cdf4af0fd194af29.tar.gz
caffe-0ad1284bf6af4ee59f782b72cdf4af0fd194af29.tar.bz2
caffe-0ad1284bf6af4ee59f782b72cdf4af0fd194af29.zip
CMake: link with ${HDF5_HL_LIBRARIES}
Fixes issue #3224.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Dependencies.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index c7b6a17a..d7eb59e3 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -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)