diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2018-09-17 14:16:24 -0700 |
---|---|---|
committer | Mathias Preiner <mathias.preiner@gmail.com> | 2018-09-22 16:30:59 -0700 |
commit | 4e4dc5b946d11a676a45c3bd7ff058174ab8d748 (patch) | |
tree | e137d6d8b270e42a2e145376a09a01e79d51ed2b /cmake/ConfigProduction.cmake | |
parent | 6f2daa4e9834d0348c7eeec0dcb3dddbd98ca934 (diff) |
cmake: Do not allow dumping with portfolio build.
Diffstat (limited to 'cmake/ConfigProduction.cmake')
-rw-r--r-- | cmake/ConfigProduction.cmake | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cmake/ConfigProduction.cmake b/cmake/ConfigProduction.cmake index 1b30dc1aa..db63507a7 100644 --- a/cmake/ConfigProduction.cmake +++ b/cmake/ConfigProduction.cmake @@ -15,7 +15,16 @@ cvc4_set_option(ENABLE_PROOFS ON) # enable_tracing=no cvc4_set_option(ENABLE_TRACING OFF) # enable_dumping=yes -cvc4_set_option(ENABLE_DUMPING ON) +if(ENABLE_PORTFOLIO) + if(ENABLE_DUMPING) + message(FATAL_ERROR "Dumping not supported with a portfolio build.") + else() + message(WARNING + "Disabling dumping support, not supported with a portfolio build.") + endif() +else() + cvc4_set_option(ENABLE_DUMPING ON) +endif() # enable_muzzle=no cvc4_set_option(ENABLE_MUZZLE OFF) # enable_valgrind=no |