### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.0 Documentation »
- cmake-modules(7) »

# FindPostgreSQL

Find the PostgreSQL installation.

In Windows, we make the assumption that, if the PostgreSQL files are installed, the default directory will be C:Program FilesPostgreSQL.

This module defines

    PostgreSQL_LIBRARIES - the PostgreSQL libraries needed for linking
    PostgreSQL_INCLUDE_DIRS - the directories of the PostgreSQL headers
    PostgreSQL_VERSION_STRING - the version of PostgreSQL found (since CMake 2.8.8)

### Navigation

- index
- next |
- previous |
- CMake »
- 3.2.0 Documentation »
- cmake-modules(7) »