package (#21) - cmake doesn't find right POSTGRESQL_INCLUDE_DIR (#312) - Message List

cmake doesn't find right POSTGRESQL_INCLUDE_DIR

Hey,

I've git a problem with cmake. It doesn't find the wight postgres-version on my system (Solaris10) I've installed postgres by compiling and add it to PATH.

cmake return always

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: POSTGRESQL_INCLUDE_DIR (ADVANCED)

CMakeCache.txt : POSTGRESQL_INCLUDE_DIR:PATH=POSTGRESQL_INCLUDE_DIR-NOTFOUND

//Path to a library. POSTGRESQL_LIBRARIES:FILEPATH=POSTGRESQL_LIBRARIES-NOTFOUND

cmake takes the postgres-path only for the output directory Output directory for libraries is set to /opt/src/postgres/8.4-community/lib

Does anybody know how I can change this behavior??

Thank a lot.