[realsense2] no absolute paths (#21726)

This commit is contained in:
autoantwort 2021-11-30 02:05:33 +01:00 committed by GitHub
parent d9a383d331
commit 945f540e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View File

@ -48,7 +48,9 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/realsense2)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" "\${_IMPORT_PREFIX}")
endif()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,7 +1,7 @@
{
"name": "realsense2",
"version": "2.49.0",
"port-version": 1,
"port-version": 2,
"description": "Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300).",
"homepage": "https://github.com/IntelRealSense/librealsense",
"dependencies": [

View File

@ -5938,7 +5938,7 @@
},
"realsense2": {
"baseline": "2.49.0",
"port-version": 1
"port-version": 2
},
"recast": {
"baseline": "1.5.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "25c2059547ebbf80994d111edbfc05686696f108",
"version": "2.49.0",
"port-version": 2
},
{
"git-tree": "b7c65d664a018a4d4922c844e8cbcbb05ba597eb",
"version": "2.49.0",