summaryrefslogtreecommitdiffstats
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-11-13 13:41:43 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2019-11-13 13:41:43 (GMT)
commit24ae45fb0c9068a1798eb8c5c5d49b5f2639b145 (patch)
tree5ae926500dce66eac8d00d2c9e98d2124db91ee9 /Modules/FindPostgreSQL.cmake
parentc1d5d5eb11e0260ffadda0851ac844ab46b6b179 (diff)
downloadCMake-24ae45fb0c9068a1798eb8c5c5d49b5f2639b145.zip
CMake-24ae45fb0c9068a1798eb8c5c5d49b5f2639b145.tar.gz
CMake-24ae45fb0c9068a1798eb8c5c5d49b5f2639b145.tar.bz2
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 cfa4ebc..10a838b 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}"