diff --git a/ports/realsense2/portfile.cmake b/ports/realsense2/portfile.cmake index 7d59d891f2..6bc748fdda 100644 --- a/ports/realsense2/portfile.cmake +++ b/ports/realsense2/portfile.cmake @@ -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") diff --git a/ports/realsense2/vcpkg.json b/ports/realsense2/vcpkg.json index 8eeac97239..f52e724f6d 100644 --- a/ports/realsense2/vcpkg.json +++ b/ports/realsense2/vcpkg.json @@ -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": [ diff --git a/versions/baseline.json b/versions/baseline.json index cad73d688e..6f6110a3ae 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5938,7 +5938,7 @@ }, "realsense2": { "baseline": "2.49.0", - "port-version": 1 + "port-version": 2 }, "recast": { "baseline": "1.5.1", diff --git a/versions/r-/realsense2.json b/versions/r-/realsense2.json index e8a75384e8..ef5ac9c80e 100644 --- a/versions/r-/realsense2.json +++ b/versions/r-/realsense2.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "25c2059547ebbf80994d111edbfc05686696f108", + "version": "2.49.0", + "port-version": 2 + }, { "git-tree": "b7c65d664a018a4d4922c844e8cbcbb05ba597eb", "version": "2.49.0",