diff options
| author | Brad King <brad.king@kitware.com> | 2022-09-01 13:58:38 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-01 13:59:29 (GMT) |
| commit | 61418f33ead448ed178d90c8be5fc0063550e6b4 (patch) | |
| tree | a9ee51f4781d20447089887c0e67688093803eb1 | |
| parent | 89636eeb5f42d5765ea21a48468bb7e6d49517b4 (diff) | |
| parent | f799e0f23d498268720bc77f86650d9a278d2222 (diff) | |
| download | CMake-61418f33ead448ed178d90c8be5fc0063550e6b4.zip CMake-61418f33ead448ed178d90c8be5fc0063550e6b4.tar.gz CMake-61418f33ead448ed178d90c8be5fc0063550e6b4.tar.bz2 | |
Merge topic 'FindPostgreSQL-brew'
f799e0f23d FindPostgreSQL: Add brew-style directories to search path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7627
| -rw-r--r-- | Modules/FindPostgreSQL.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake index 2233aa0..c92fbdc 100644 --- a/Modules/FindPostgreSQL.cmake +++ b/Modules/FindPostgreSQL.cmake @@ -121,13 +121,16 @@ foreach(suffix ${PostgreSQL_KNOWN_VERSIONS}) if(UNIX) list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES "postgresql${suffix}" + "postgresql@${suffix}" "pgsql-${suffix}/lib") list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES "postgresql${suffix}" + "postgresql@${suffix}" "postgresql/${suffix}" "pgsql-${suffix}/include") list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES "postgresql${suffix}/server" + "postgresql@${suffix}/server" "postgresql/${suffix}/server" "pgsql-${suffix}/include/server") endif() |
