From 35fd011a65fa9b4e869acb5fff4cb5c553d69b43 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 2 Mar 2020 06:42:42 +0000 Subject: [PATCH] [libpq] Fix build failure when vcpkg path contains spaces 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 359481816ab02d..8517fda64f0a4b 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 2ef9309a232bb0..89b177a848a042 100644 --- a/ports/libpq/portfile.cmake +++ b/ports/libpq/portfile.cmake @@ -173,7 +173,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)