summaryrefslogtreecommitdiff
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-11-13 08:41:43 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2019-11-13 08:41:43 -0500
commit24ae45fb0c9068a1798eb8c5c5d49b5f2639b145 (patch)
tree5ae926500dce66eac8d00d2c9e98d2124db91ee9 /Modules/FindPostgreSQL.cmake
parentc1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff)
downloadcmake-24ae45fb0c9068a1798eb8c5c5d49b5f2639b145.tar.gz
FindPostgreSQL: also search for libraries in the MacPorts suffix
Diffstat (limited to 'Modules/FindPostgreSQL.cmake')
-rw-r--r--Modules/FindPostgreSQL.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake
index cfa4ebce9f..10a838b16a 100644
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -105,6 +105,7 @@ foreach(suffix ${PostgreSQL_KNOWN_VERSIONS})
endif()
if(UNIX)
list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES
+ "postgresql${suffix}"
"pgsql-${suffix}/lib")
list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES
"postgresql${suffix}"