Make FindPostgreSQL find headers on Debian.

Thanks to Pere Nubiola i Radigales and Gregor Jasny.
Patch: FindPostgreSQL_665721.diff
(Closes: #665721)
This commit is contained in:
Modestas Vainius 2012-08-18 22:43:26 +03:00
parent 3af716b9d5
commit e0c125be38
3 changed files with 22 additions and 0 deletions

3
debian/changelog vendored
View File

@ -1,6 +1,9 @@
cmake (2.8.9-1) UNRELEASED; urgency=low
* New upstream release (no upstream changes since RC3).
* Make FindPostgreSQL find headers on Debian. Thanks to Pere Nubiola i
Radigales and Gregor Jasny. (Closes: #665721)
Patch: FindPostgreSQL_665721.diff
-- Modestas Vainius <modax@debian.org> Sat, 18 Aug 2012 22:36:44 +0300

View File

@ -0,0 +1,18 @@
Description: Find postgresql headers on Debian
Author: Pere Nubiola i Radigales <pere@nubiola.cat>
Author: Gregor Jasny <gjasny@googlemail.com>
Bug: http://bugs.debian.org/665721
Acked-By: Modestas Vainius <modax@debian.org>
Origin: other, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665721#17
Last-Update: 2012-08-18
--- a/Modules/FindPostgreSQL.cmake
+++ b/Modules/FindPostgreSQL.cmake
@@ -116,6 +116,7 @@
# Look in other places.
${PostgreSQL_ROOT_DIRECTORIES}
PATH_SUFFIXES
+ postgresql
pgsql/server
postgresql/server
include/server

View File

@ -1,2 +1,3 @@
FindBoost_add_-lpthread_#563479.diff
multiarch_findgtk2_fix.diff
FindPostgreSQL_665721.diff