solidity/cmake/FindZ3.cmake

10 lines
313 B
CMake
Raw Normal View History

if (USE_Z3)
2018-11-08 11:12:47 +00:00
find_path(Z3_INCLUDE_DIR NAMES z3++.h PATH_SUFFIXES z3)
find_library(Z3_LIBRARY NAMES z3 )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR)
else()
set(Z3_FOUND FALSE)
endif()
2017-08-24 06:31:51 +00:00
# TODO: Create IMPORTED library for Z3.