Merge pull request #5371 from nud3l/develop

Fix cmake Z3 import issue for Fedora like distributions
This commit is contained in:
chriseth 2018-11-08 12:53:31 +01:00 committed by GitHub
commit 20481055e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
if (USE_Z3)
find_path(Z3_INCLUDE_DIR z3++.h)
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)