mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 10:59:00 +08:00
687a2b9b89
* Fix Deploy Azure Kinect Sensor SDK on Windows Fix deploy Azure Kinect Sensor SDK on Windows by copy Depth Engine. * Fix Download URL by Version Number * Fix Check SHA512 Hash of NuGet package * Add Check Library Linkage * Change Install Directory for Deploy Files * Update ports/azure-kinect-sensor-sdk/portfile.cmake Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
11 lines
548 B
PowerShell
11 lines
548 B
PowerShell
# Note: This function signature and behavior is depended upon by applocal.ps1
|
|
|
|
function deployAzureKinectSensorSDK([string]$targetBinaryDir, [string]$installedDir, [string]$targetBinaryName) {
|
|
if ($targetBinaryName -like "k4a.dll") {
|
|
if(Test-Path "$installedDir\tools\azure-kinect-sensor-sdk\depthengine_2_0.dll") {
|
|
Write-Verbose " Deploying Azure Kinect Sensor SDK Initialization"
|
|
deployBinary "$targetBinaryDir" "$installedDir\tools\azure-kinect-sensor-sdk\" "depthengine_2_0.dll"
|
|
}
|
|
}
|
|
}
|