solidity/cmake/FindZ3.cmake
2017-08-24 08:31:51 +02:00

8 lines
225 B
CMake

find_path(Z3_INCLUDE_DIR z3++.h)
find_library(Z3_LIBRARY NAMES z3 )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR)
# TODO: Create IMPORTED library for Z3.