aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2008-03-24 16:54:53 +0000
committerLaurent Montel <montel@kde.org>2008-03-24 16:54:53 +0000
commit656cc1fd0189110ca52b3f65808973a54842d897 (patch)
tree4aafb50882d1d5d52b8dce76278acedaeacbf542
parente3d7adc9d5434217f69b6b42834bc08a8004b93e (diff)
downloadextra-cmake-modules-656cc1fd0189110ca52b3f65808973a54842d897.tar.gz
extra-cmake-modules-656cc1fd0189110ca52b3f65808973a54842d897.tar.bz2
Backport:
Fix include path svn path=/branches/KDE/4.0/kdelibs/; revision=789585
-rw-r--r--modules/FindPostgreSQL.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/FindPostgreSQL.cmake b/modules/FindPostgreSQL.cmake
index 43cb1865..54003b89 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)