diff options
author | Peter Powell <petpow@saberuk.com> | 2017-01-13 22:02:00 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-01-13 22:02:00 +0000 |
commit | 6d29538346e2e083abfed266806a807e8afedd40 (patch) | |
tree | cd5d74482f56399d24e74ccf8aa8036b42a0cdcf /Config | |
parent | bdf4650ff8e38ce79187de67189befd1900b3d7f (diff) |
Don't give misleading instructions when running CMake fails.
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |