mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 03:13:03 +08:00
* [openmvs] use project install folder (#10265) * update scripts
This commit is contained in:
parent
19ac6d56d5
commit
39d22e2c99
@ -1,4 +1,5 @@
|
||||
Source: openmvs
|
||||
Version: 1.1
|
||||
Version: 1.1-1
|
||||
Description: OpenMVS: open Multi-View Stereo reconstruction library
|
||||
Homepage: https://cdcseacave.github.io/openMVS
|
||||
Build-Depends: zlib, boost-iostreams, boost-program-options, boost-system, boost-serialization, eigen3, ceres, opencv, cgal[core], glew, glfw3, vcglib
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
@ -19,7 +17,6 @@ vcpkg_configure_cmake(
|
||||
-DINSTALL_CMAKE_DIR:STRING=share/openmvs
|
||||
-DINSTALL_BIN_DIR:STRING=bin
|
||||
-DINSTALL_LIB_DIR:STRING=lib
|
||||
-DINSTALL_INCLUDE_DIR:STRING=include
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -33,4 +30,4 @@ file(RENAME ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/tools/openmvs)
|
||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/openmvs)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openmvs RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
Loading…
Reference in New Issue
Block a user