From 6bed46fa52e2e7aa4e73c4bc6f6ea52caee91c64 Mon Sep 17 00:00:00 2001 From: AlvinZhangH <260137639@qq.com> Date: Mon, 9 Dec 2019 17:41:54 +0800 Subject: [libpq] Update deprecated functions --- ports/libpq/portfile.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ports') diff --git a/ports/libpq/portfile.cmake b/ports/libpq/portfile.cmake index ef39c7da2..48e6ad71a 100644 --- a/ports/libpq/portfile.cmake +++ b/ports/libpq/portfile.cmake @@ -1,4 +1,4 @@ -if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") +if(VCPKG_TARGET_IS_UWP) message(FATAL_ERROR "${PORT} currently only supports being built for desktop") endif() @@ -27,4 +27,4 @@ vcpkg_configure_cmake( vcpkg_install_cmake() vcpkg_copy_pdbs() -file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/libpq RENAME copyright) +file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) -- cgit v1.2.3