mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 08:19:01 +08:00
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"
|
||
|
}
|
||
|
}
|
||
|
}
|