Change FindPostgreSQL patch to use WARNING instead of SEND_ERROR to allow tests to pass

This commit is contained in:
Orion Poplawski 2012-07-05 12:16:43 -06:00
parent d36d5aa181
commit 6afad27c1a

View File

@ -36,7 +36,7 @@
-) -)
+macro (fail_if) +macro (fail_if)
+ if (${ARGV}) + if (${ARGV})
+ message (SEND_ERROR "Couldn't determine PostgreSQL configuration.") + message (WARNING "Couldn't determine PostgreSQL configuration.")
+ unset (PostgreSQL_CONFIG_DIR) + unset (PostgreSQL_CONFIG_DIR)
+ break () + break ()
+ endif () + endif ()