summaryrefslogtreecommitdiff
path: root/Modules/FindPostgreSQL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-15 14:01:22 +0000
committerKitware Robot <kwrobot@kitware.com>2019-11-15 09:01:37 -0500
commitc029829665cd4e3dac4fae71aa47c1d654e8ba47 (patch)
tree2335a30e27b3c2b38e8067be5d6ca989d9b9728e /Modules/FindPostgreSQL.cmake
parenta10e11fd7c36a2086223384d35f3d5325ef84f05 (diff)
parent24ae45fb0c9068a1798eb8c5c5d49b5f2639b145 (diff)
downloadcmake-c029829665cd4e3dac4fae71aa47c1d654e8ba47.tar.gz
Merge topic 'FindPostgreSQL-macports-libsuffix'
24ae45fb0c FindPostgreSQL: also search for libraries in the MacPorts suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4043
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 4fcc79def8..1927aa4b88 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}"