Skip to content

Commit

Permalink
[realsense2] no absolute paths (#21726)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Nov 30, 2021
1 parent d9a383d commit 945f540
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ports/realsense2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion ports/realsense2/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5938,7 +5938,7 @@
},
"realsense2": {
"baseline": "2.49.0",
"port-version": 1
"port-version": 2
},
"recast": {
"baseline": "1.5.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/r-/realsense2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "25c2059547ebbf80994d111edbfc05686696f108",
"version": "2.49.0",
"port-version": 2
},
{
"git-tree": "b7c65d664a018a4d4922c844e8cbcbb05ba597eb",
"version": "2.49.0",
Expand Down

0 comments on commit 945f540

Please sign in to comment.