mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
[realsense2] fix single config builds (#42449)
This commit is contained in:
parent
3c24aa3516
commit
e534a9d589
@ -50,10 +50,11 @@ 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}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg" "\${_IMPORT_PREFIX}")
|
||||
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/common/fw")
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/common/fw/fw.res" DESTINATION "${CURRENT_PACKAGES_DIR}/common/fw")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/realsense2/realsense2Targets.cmake" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg" "\${_IMPORT_PREFIX}")
|
||||
endif()
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/common/fw")
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/common/fw/fw.res" DESTINATION "${CURRENT_PACKAGES_DIR}/common/fw")
|
||||
endif()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "realsense2",
|
||||
"version": "2.56.2",
|
||||
"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",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -7886,7 +7886,7 @@
|
||||
},
|
||||
"realsense2": {
|
||||
"baseline": "2.56.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"recast": {
|
||||
"baseline": "deprecated",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "16b54def1f75d71eb6b30ecc5b33cdcda10ea9e6",
|
||||
"version": "2.56.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "3f099d34f5d5bf7b0354e667018c0caae7966229",
|
||||
"version": "2.56.2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user