diff options
| author | Tsukasa Sugiura <t.sugiura0204@gmail.com> | 2018-01-24 01:45:23 +0900 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-01-23 08:45:23 -0800 |
| commit | 64203615a6d593fafbea36ce4cd01583deb0ad01 (patch) | |
| tree | fd018a34d39b5059017498db4cbdff7db2f6c682 /scripts | |
| parent | dcea519efba72c9db88cacaeb3e2bbfb3667c531 (diff) | |
| download | vcpkg-64203615a6d593fafbea36ce4cd01583deb0ad01.tar.gz vcpkg-64203615a6d593fafbea36ce4cd01583deb0ad01.zip | |
Fix OpenNI2 deploy (#2627)
* Fix OpenNI2 deploy
Fix to deploy initialization file and drivers.
* [openni2] Adjusting deployopenni2.ps1 paths
* Fix Create Directory of OpenNI2 Drivers
Fix create directory of OpenNI2 drivers.
* Fix Deploy Script Path
Fix deploy script path.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/msbuild/applocal.ps1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/buildsystems/msbuild/applocal.ps1 b/scripts/buildsystems/msbuild/applocal.ps1 index 08a6d9a8f..0b56356a0 100644 --- a/scripts/buildsystems/msbuild/applocal.ps1 +++ b/scripts/buildsystems/msbuild/applocal.ps1 @@ -49,6 +49,7 @@ function resolve([string]$targetBinary) { if (Test-Path "$installedDir\$_") { deployBinary $targetBinaryDir $installedDir "$_" if (Test-Path function:\deployPluginsIfQt) { deployPluginsIfQt $targetBinaryDir "$g_install_root\plugins" "$_" } + if (Test-Path function:\deployOpenNI2) { deployOpenNI2 $targetBinaryDir "$g_install_root" "$_" } resolve "$targetBinaryDir\$_" } elseif (Test-Path "$targetBinaryDir\$_") { Write-Verbose " ${_}: $_ not found in vcpkg; locally deployed" @@ -66,5 +67,10 @@ if (Test-Path "$g_install_root\plugins\qtdeploy.ps1") { . "$g_install_root\plugins\qtdeploy.ps1" } +# Note: This is a hack to make OpenNI2 work. +if (Test-Path "$g_install_root\bin\OpenNI2\openni2deploy.ps1") { + . "$g_install_root\bin\OpenNI2\openni2deploy.ps1" +} + resolve($targetBinary) Write-Verbose $($g_searched | out-string)
\ No newline at end of file |
