Skip to content

Commit c2d2e02

Browse files
committed
Patch Caffe Dependencies to prevent Caffe overwriting the HDF5 libs from find_package
1 parent 5515173 commit c2d2e02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Patches/Caffe/527f97c0692f116ada7cb97eed8172ef7da05416/cmake/Dependencies.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ if(MSVC)
3737
list(APPEND CMAKE_MODULE_PATH ${HDF5_DIR})
3838
endif()
3939
find_package(HDF5 COMPONENTS C HL REQUIRED)
40-
set(HDF5_LIBRARIES hdf5-shared)
41-
set(HDF5_HL_LIBRARIES hdf5_hl-shared)
40+
# set(HDF5_LIBRARIES hdf5-shared)
41+
# set(HDF5_HL_LIBRARIES hdf5_hl-shared)
4242
else()
4343
find_package(HDF5 COMPONENTS HL REQUIRED)
4444
endif()

0 commit comments

Comments
 (0)