vcpkg/ports/libpq/usage
Jack·Boos·Yu d36f68e336
[libpq] Fix cmake wrapper on Windows, add usage (#17232)
* [libpq] Fix cmake wrapper on Windows, add usage

* update version record

* Fix macro PostgreSQL_LIBRARIES

* update version record

* Update ports/libpq/vcpkg-cmake-wrapper.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Update ports/libpq/vcpkg-cmake-wrapper.cmake

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Update versions/l-/libpq.json

* Update versions/baseline.json

* Update versions/l-/libpq.json

* Update ports/libpq/vcpkg.json

* Update versions/l-/libpq.json

* Update ports/libpq/vcpkg.json

* Update versions/baseline.json

* Update versions/l-/libpq.json

* Update versions/l-/libpq.json

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2021-04-30 11:10:51 -07:00

5 lines
152 B
Plaintext

The package libpq provides CMake integration:
find_package(PostgreSQL REQUIRED)
target_link_libraries(main PRIVATE PostgreSQL::PostgreSQL)