Merge pull request #6891 from ethereum/z3cmake

Build System: Try to find Z3 using CONFIG_MODE and stock cmake files before manual search.
This commit is contained in:
Daniel Kirchner
2019-06-05 10:46:50 +02:00
committed by GitHub
3 changed files with 43 additions and 23 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ add_library(solidity ${sources} ${z3_SRCS} ${cvc4_SRCS})
target_link_libraries(solidity PUBLIC yul evmasm langutil devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
if (${Z3_FOUND})
target_link_libraries(solidity PUBLIC Z3::Z3)
target_link_libraries(solidity PUBLIC z3::libz3)
endif()
if (${CVC4_FOUND})