[cmake] Change FindPostgreSQL patch to use WARNING instead of SEND_ERROR to allow tests to pass
Orion Poplawski
orion at fedoraproject.org
Thu Jul 5 18:16:43 UTC 2012
commit 6afad27c1a3dd55982feb2fdb0c392cb737b98e0
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Jul 5 12:16:43 2012 -0600
Change FindPostgreSQL patch to use WARNING instead of SEND_ERROR to allow tests to pass
cmake-FindPostgreSQL.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cmake-FindPostgreSQL.patch b/cmake-FindPostgreSQL.patch
index 213eb14..27315f0 100644
--- a/cmake-FindPostgreSQL.patch
+++ b/cmake-FindPostgreSQL.patch
@@ -36,7 +36,7 @@
-)
+macro (fail_if)
+ if (${ARGV})
-+ message (SEND_ERROR "Couldn't determine PostgreSQL configuration.")
++ message (WARNING "Couldn't determine PostgreSQL configuration.")
+ unset (PostgreSQL_CONFIG_DIR)
+ break ()
+ endif ()
More information about the scm-commits
mailing list