summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-15 14:01:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-15 14:01:36 (GMT)
commit25d7a72a9391f776ed2a86672814cce7f1ab3a2a (patch)
tree8461294a42ba7349d0f2c221a997fa1e308dfeaa
parent842605341a6d1c3ca4fe4650f0f1572631cfc6a5 (diff)
parent24ae45fb0c9068a1798eb8c5c5d49b5f2639b145 (diff)
downloadCMake-25d7a72a9391f776ed2a86672814cce7f1ab3a2a.zip
CMake-25d7a72a9391f776ed2a86672814cce7f1ab3a2a.tar.gz
CMake-25d7a72a9391f776ed2a86672814cce7f1ab3a2a.tar.bz2
Merge topic 'FindPostgreSQL-macports-libsuffix' into release-3.16
24ae45fb0c FindPostgreSQL: also search for libraries in the MacPorts suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4043
-rw-r--r--Modules/FindPostgreSQL.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake
index 4fcc79d..1927aa4 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}"