W3cubDocs

/CMake 3.15

FindPostgreSQL

Find the PostgreSQL installation.

IMPORTED Targets

This module defines IMPORTED target PostgreSQL::PostgreSQL if PostgreSQL has been found.

Result Variables

This module will set the following variables in your project:

PostgreSQL_FOUND
True if PostgreSQL is found.
PostgreSQL_LIBRARIES
the PostgreSQL libraries needed for linking
PostgreSQL_INCLUDE_DIRS
the directories of the PostgreSQL headers
PostgreSQL_LIBRARY_DIRS
the link directories for PostgreSQL libraries
PostgreSQL_VERSION_STRING
the version of PostgreSQL found

© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/module/FindPostgreSQL.html