[libpq] Update deprecated functions

This commit is contained in:
AlvinZhangH 2019-12-09 17:41:54 +08:00
parent c6ef1ac79d
commit 6bed46fa52

View File

@ -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") message(FATAL_ERROR "${PORT} currently only supports being built for desktop")
endif() endif()
@ -27,4 +27,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake() vcpkg_install_cmake()
vcpkg_copy_pdbs() 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)