diff options
-rw-r--r-- | modules/FindPostgreSQL.cmake | 5 |
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) |