[CMake] FindPostgreSQL.cmake won't work on ubuntu
Matthew Woehlke
matthew.woehlke at kitware.com
Mon Dec 17 15:11:30 EST 2012
On 2012-12-17 14:55, Ilia Choly wrote:
> I'm trying to get the `FindPostgreSQL` module to find
> `/usr/include/postgresql/libpq-fe.h`.
>
> This is the error I get:
>
> CMake Error at
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
> (MESSAGE):
> Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR)
> (found
> version "9.2.2")
Is pg_config in your PATH? (Do you have the necessary -dev package(s)
installed?)
From a cursory look at the find module, it looks like having pg_config
in your path should be all that is needed.
--
Matthew
More information about the CMake
mailing list