mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3072 from ethereum/z3-cmake
Improve Z3 message in cmake
This commit is contained in:
commit
5e2bcd0412
@ -6,9 +6,9 @@ find_package(Z3 QUIET)
|
||||
if (${Z3_FOUND})
|
||||
include_directories(${Z3_INCLUDE_DIR})
|
||||
add_definitions(-DHAVE_Z3)
|
||||
message("Z3 SMT solver FOUND.")
|
||||
message("Z3 SMT solver found. This enables optional SMT checking.")
|
||||
else()
|
||||
message("Z3 SMT solver NOT found.")
|
||||
message("Z3 SMT solver NOT found. Optional SMT checking will not be available. Please install Z3 if it is desired.")
|
||||
list(REMOVE_ITEM sources "${CMAKE_CURRENT_SOURCE_DIR}/formal/Z3Interface.cpp")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user