aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindZ3.cmake
blob: c017cac2d27a352e85a2e0eb08de697df5e872e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
if (USE_Z3)
    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()
# TODO: Create IMPORTED library for Z3.