diff options
author | Brad King <brad.king@kitware.com> | 2017-01-11 14:58:22 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2017-01-11 14:58:22 (GMT) |
commit | 396e9378a820cc5216aecce6bff42f526f4f7c26 (patch) | |
tree | 7baaf91c59d1c9ee669c12b14b03903c8c786a9a /Modules | |
parent | a8b576244f729e543795750eb6c9e188c0e1fe66 (diff) | |
parent | 5ffee691ee0c55d043238960cf1149cbcfb86047 (diff) | |
download | CMake-396e9378a820cc5216aecce6bff42f526f4f7c26.zip CMake-396e9378a820cc5216aecce6bff42f526f4f7c26.tar.gz CMake-396e9378a820cc5216aecce6bff42f526f4f7c26.tar.bz2 |
Merge topic 'pgsql-yum'
5ffee691 FindPostgreSQL: automatically find installations from yum.postgresql.org
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPostgreSQL.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Modules/FindPostgreSQL.cmake b/Modules/FindPostgreSQL.cmake index 874128c..9e2194c 100644 --- a/Modules/FindPostgreSQL.cmake +++ b/Modules/FindPostgreSQL.cmake @@ -88,8 +88,13 @@ foreach(suffix ${PostgreSQL_KNOWN_VERSIONS}) "PostgreSQL/${suffix}/include/server") endif() if(UNIX) + list(APPEND PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES + "pgsql-${suffix}/lib") + list(APPEND PostgreSQL_INCLUDE_ADDITIONAL_SEARCH_SUFFIXES + "pgsql-${suffix}/include") list(APPEND PostgreSQL_TYPE_ADDITIONAL_SEARCH_SUFFIXES - "postgresql/${suffix}/server") + "postgresql/${suffix}/server" + "pgsql-${suffix}/include/server") endif() endforeach() |