aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2008-03-24 16:54:13 +0000
committerLaurent Montel <montel@kde.org>2008-03-24 16:54:13 +0000
commit24817fef7d571052d8014f76f692722f15db4883 (patch)
treee2d878ec862198a4b7c470db4c1202d1098173de
parentb1642b9a84f7b55c5416e5cc4fe0156864334cce (diff)
downloadextra-cmake-modules-24817fef7d571052d8014f76f692722f15db4883.tar.gz
extra-cmake-modules-24817fef7d571052d8014f76f692722f15db4883.tar.bz2
Postgress can be installed in /usr/include/postgresql/
svn path=/trunk/KDE/kdelibs/; revision=789583
-rw-r--r--modules/FindPostgreSQL.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/FindPostgreSQL.cmake b/modules/FindPostgreSQL.cmake
index ab352c7c..b16e9e5e 100644
--- a/modules/FindPostgreSQL.cmake
+++ b/modules/FindPostgreSQL.cmake
@@ -18,8 +18,9 @@ endif (POSTGRESQL_INCLUDE_DIR AND POSTGRESQL_LIBRARIES)
find_path(POSTGRESQL_INCLUDE_DIR libpq-fe.h
- /usr/include/pgsql
- /usr/local/include/pgsql
+ /usr/include/pgsql/
+ /usr/local/include/pgsql/
+ /usr/include/postgresql/
)
find_library(POSTGRESQL_LIBRARIES NAMES pq)