diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-24 07:27:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 07:27:09 +0800 |
commit | 957f23a9f4cb181b2dfaf0170816080513bfe786 (patch) | |
tree | c1d6de873c54380018f6a88d2fe687b5770c6db7 /cmake | |
parent | ee8fa886cc0fa39ae9c41e9685a576166362906c (diff) | |
parent | cf5e1d6120513c757bd5c71f1e3af972a9a63aeb (diff) | |
download | dexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.tar.gz dexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.tar.zst dexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.zip |
Merge pull request #2538 from ethereum/z3Conditions
z3 conditions
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindZ3.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/FindZ3.cmake b/cmake/FindZ3.cmake new file mode 100644 index 00000000..8f3f9ee1 --- /dev/null +++ b/cmake/FindZ3.cmake @@ -0,0 +1,9 @@ +find_path(Z3_INCLUDE_DIR z3++.h) +find_library(Z3_LIBRARY NAMES z3 ) +include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR) + +if(Z3_FOUND) + set(Z3_LIBRARIES ${Z3_LIBRARY}) +endif() + |