From 4772dc2c40478980efa802ca93374d39e12ba7d9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 28 Mar 2020 03:28:09 +0000 Subject: [libpq] Fix build failure when vcpkg path contains spaces (#10274) Add quotes to paths in command flags --- ports/libpq/CONTROL | 2 +- 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) -- cgit v1.2.3