Library name: opencv3[contrib]
Thanks for working on vcpkg and the opencv port! (I hope to soon be moving to opencv4, but until then ...)
The opencv3[contrib] feature will use hdf5 when it is available. But the opencv3 contrib /modules/hdf/CMakeLists.txt is broken on windows. It has some hand-crafted logic for finding hdf5, and that seems to work for the release build. But it does not work for the vcpkg debug build. Besides it is not necessary because the vpkg build of hdf5 generates a correct config script on windows. So the find package logic for hdf5 on windows should be the same as non-windows, which is simply find_package(HDF5).
The attached zip file has 0010-win32-hdf5.patch and with an updated portfile.cmake that uses the patch.
opencv3-patch.zip
Library name: opencv3[contrib]
Thanks for working on vcpkg and the opencv port! (I hope to soon be moving to opencv4, but until then ...)
The opencv3[contrib] feature will use hdf5 when it is available. But the opencv3 contrib /modules/hdf/CMakeLists.txt is broken on windows. It has some hand-crafted logic for finding hdf5, and that seems to work for the release build. But it does not work for the vcpkg debug build. Besides it is not necessary because the vpkg build of hdf5 generates a correct config script on windows. So the find package logic for hdf5 on windows should be the same as non-windows, which is simply
find_package(HDF5).The attached zip file has 0010-win32-hdf5.patch and with an updated portfile.cmake that uses the patch.
opencv3-patch.zip