[libpq] Fix build failure when vcpkg path contains spaces (#10274)

Add quotes to paths in command flags
This commit is contained in:
Daniel 2020-03-28 03:28:09 +00:00 committed by GitHub
parent 59b09ec644
commit 4772dc2c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: libpq
Version: 12.0
Version: 12.0-1
Build-Depends: libpq[bonjour] (osx)
Supports: !uwp
Homepage: https://www.postgresql.org/

View File

@ -168,7 +168,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
/p:UseIntelMKL=No
/p:WindowsTargetPlatformVersion=${VCPKG_TARGET_PLATFORM_VERSION}
/m
/p:ForceImportBeforeCppTargets=${SCRIPTS}/buildsystems/msbuild/vcpkg.targets
/p:ForceImportBeforeCppTargets=\"${SCRIPTS}/buildsystems/msbuild/vcpkg.targets\"
/p:VcpkgTriplet=${TARGET_TRIPLET}"
)
if(HAS_TOOLS)