diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/options.cpp b/src/util/options.cpp index 3e877c541..3b7b7b08c 100644 --- a/src/util/options.cpp +++ b/src/util/options.cpp @@ -638,7 +638,11 @@ throw(OptionException) { break; case PROOF: +#ifdef CVC4_PROOF proof = true; +#else /* CVC4_PROOF */ + throw OptionException("This is not a proof-enabled build of CVC4; --proof cannot be used"); +#endif /* CVC4_PROOF */ break; case NO_TYPE_CHECKING: |