diff options
author | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 22:46:17 +0800 |
---|---|---|
committer | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 23:43:57 +0800 |
commit | 4b20708c497cfbbb8a489339b91e26f05d0bd7a2 (patch) | |
tree | 1dbf784d05992de48d9d094258debc855d267fef /cmake/EthCompilerSettings.cmake | |
parent | 009a55c82d22f08fd207739d7b8aeff215fb7c03 (diff) | |
download | dexon-solidity-4b20708c497cfbbb8a489339b91e26f05d0bd7a2.tar.gz dexon-solidity-4b20708c497cfbbb8a489339b91e26f05d0bd7a2.tar.zst dexon-solidity-4b20708c497cfbbb8a489339b91e26f05d0bd7a2.zip |
cmake flags to make solvers optional. Implementation of #4651
Diffstat (limited to 'cmake/EthCompilerSettings.cmake')
-rw-r--r-- | cmake/EthCompilerSettings.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/EthCompilerSettings.cmake b/cmake/EthCompilerSettings.cmake index 515057fa..76268626 100644 --- a/cmake/EthCompilerSettings.cmake +++ b/cmake/EthCompilerSettings.cmake @@ -166,6 +166,10 @@ if(COVERAGE) add_compile_options(-g --coverage) endif() +# SMT Solvers integration +option(USE_Z3 "Allow compiling with Z3 SMT solver integration" ON) +option(USE_CVC4 "Allow compiling with CVC4 SMT solver integration" ON) + if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")) option(USE_LD_GOLD "Use GNU gold linker" ON) if (USE_LD_GOLD) |