aboutsummaryrefslogtreecommitdiff
path: root/modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindPostgreSQL.cmake')
-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)