aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindZ3.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindZ3.cmake')
-rw-r--r--cmake/FindZ3.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindZ3.cmake b/cmake/FindZ3.cmake
index 704f367e..c017cac2 100644
--- a/cmake/FindZ3.cmake
+++ b/cmake/FindZ3.cmake
@@ -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)