summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-04-20 15:48:20 -0400
committerAdam <Adam@anope.org>2017-04-20 15:48:20 -0400
commitf1cf3c6f91fedb18eca1981dd65458fd69324b02 (patch)
treeaf753107ec45988ba5801664f3e1d2beab383b95
parentc632733654340630efbb9ef91ed6a105a31fa9b5 (diff)
parent6d29538346e2e083abfed266806a807e8afedd40 (diff)
Merge commit '6d29538346e2e083abfed266806a807e8afedd40'
-rwxr-xr-xConfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/Config b/Config
index f1cd4e317..5d712cbeb 100755
--- a/Config
+++ b/Config
@@ -81,6 +81,10 @@ Run_Build_System () {
echo "cmake $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR"
cmake $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR
+ if [ $? -ne 0 ]; then
+ echo "You should fix these issues and then run ./Config -quick to rerun CMake."
+ exit 1
+ fi
echo ""
if [ "$SOURCE_DIR" = "." ] ; then