early-access version 2853
This commit is contained in:
2496
externals/vcpkg/ports/dbow3/fix_cmake.patch
vendored
Executable file
2496
externals/vcpkg/ports/dbow3/fix_cmake.patch
vendored
Executable file
File diff suppressed because it is too large
Load Diff
32
externals/vcpkg/ports/dbow3/portfile.cmake
vendored
Executable file
32
externals/vcpkg/ports/dbow3/portfile.cmake
vendored
Executable file
@@ -0,0 +1,32 @@
|
||||
#the port produces some empty dlls when building shared libraries, since some components do not export anything, breaking the internal build itself
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO rmsalinas/DBow3
|
||||
REF master
|
||||
SHA512 16e6789b77e8b42428d156ae5efa667861fa8ef2e85b54e3dd1d28e6f8dc7d119e973234c77cac82e775080fb9c859640d04159659a7d63941325e13e40b2814
|
||||
PATCHES
|
||||
fix_cmake.patch
|
||||
)
|
||||
|
||||
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DUSE_SIMD=ON
|
||||
-DUSE_OPENCV_CONTRIB=ON
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake/DBow3)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/LICENSE.txt
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/share/DBow3 RENAME copyright)
|
||||
vcpkg_copy_pdbs()
|
||||
14
externals/vcpkg/ports/dbow3/vcpkg.json
vendored
Executable file
14
externals/vcpkg/ports/dbow3/vcpkg.json
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "dbow3",
|
||||
"version-string": "1.0.0",
|
||||
"port-version": 1,
|
||||
"description": "DBoW3 is an improved version of the DBow2 library, an open source C++ library for indexing and converting images into a bag-of-word representation.",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "opencv3",
|
||||
"features": [
|
||||
"contrib"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user