1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Don't give misleading instructions when running CMake fails.

This commit is contained in:
Peter Powell
2017-01-13 22:02:00 +00:00
parent bdf4650ff8
commit 6d29538346
+4
View File
@@ -94,6 +94,10 @@ Run_Build_System () {
echo "cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR"
cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $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