diff options
author | chriseth <chris@ethereum.org> | 2017-08-24 16:40:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 16:40:40 +0800 |
commit | 77f8d6f1e9a8ff4e6c2b9d73b26a7af00f0f3c7c (patch) | |
tree | fe68d026da75a113525193238d651897efcb685a | |
parent | 957f23a9f4cb181b2dfaf0170816080513bfe786 (diff) | |
parent | 5831b048c03481fac94ef8397598070a9fc04be5 (diff) | |
download | dexon-solidity-77f8d6f1e9a8ff4e6c2b9d73b26a7af00f0f3c7c.tar.gz dexon-solidity-77f8d6f1e9a8ff4e6c2b9d73b26a7af00f0f3c7c.tar.zst dexon-solidity-77f8d6f1e9a8ff4e6c2b9d73b26a7af00f0f3c7c.zip |
Merge pull request #2791 from ethereum/cmake-z3
CMake: Fix FindZ3
-rw-r--r-- | cmake/FindZ3.cmake | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cmake/FindZ3.cmake b/cmake/FindZ3.cmake index 8f3f9ee1..971d3b4b 100644 --- a/cmake/FindZ3.cmake +++ b/cmake/FindZ3.cmake @@ -1,9 +1,7 @@ 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) +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR) -if(Z3_FOUND) - set(Z3_LIBRARIES ${Z3_LIBRARY}) -endif() +# TODO: Create IMPORTED library for Z3. |