diff options
| author | Daniel <supsuper@gmail.com> | 2020-03-28 03:28:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-27 20:28:09 -0700 |
| commit | 4772dc2c40478980efa802ca93374d39e12ba7d9 (patch) | |
| tree | 6fa38e53d5e8e9944b01e1f705432c9970e490db | |
| parent | 59b09ec64484d041a8b4a4f756afc8b0d471bf49 (diff) | |
| download | vcpkg-4772dc2c40478980efa802ca93374d39e12ba7d9.tar.gz vcpkg-4772dc2c40478980efa802ca93374d39e12ba7d9.zip | |
[libpq] Fix build failure when vcpkg path contains spaces (#10274)
Add quotes to paths in command flags
| -rw-r--r-- | ports/libpq/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libpq/portfile.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/libpq/CONTROL b/ports/libpq/CONTROL index 359481816..8517fda64 100644 --- a/ports/libpq/CONTROL +++ b/ports/libpq/CONTROL @@ -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/ diff --git a/ports/libpq/portfile.cmake b/ports/libpq/portfile.cmake index bd012fcb1..39707c185 100644 --- a/ports/libpq/portfile.cmake +++ b/ports/libpq/portfile.cmake @@ -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) |
