about summary refs log tree commit diff homepage
path: root/cmake/modules
diff options
context:
space:
mode:
authorKevin Laeufer <kevin.laeufer@rwth-aachen.de>2017-01-17 15:37:26 -0800
committerDan Liew <delcypher@gmail.com>2017-01-28 08:06:50 +0000
commitf2abb4720571cf4905ff9e8dbc5d0cec02b85c08 (patch)
treed7df0e95a132302cb126d4bec3bf3f12515d6097 /cmake/modules
parentde7e2b94a5f9ee05496e6a65e7370d7270b38799 (diff)
downloadklee-f2abb4720571cf4905ff9e8dbc5d0cec02b85c08.tar.gz
[cmake] add PATH_SUFFIXES needed to find z3 on Fedora
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindZ3.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/FindZ3.cmake b/cmake/modules/FindZ3.cmake
index b5f90974..999ed14e 100644
--- a/cmake/modules/FindZ3.cmake
+++ b/cmake/modules/FindZ3.cmake
@@ -20,6 +20,9 @@ endif()
 # Try to find headers
 find_path(Z3_INCLUDE_DIRS
   NAMES z3.h
+  # For distributions that keep the header files in a `z3` folder,
+  # for example Fedora's `z3-devel` package at `/usr/include/z3/z3.h`
+  PATH_SUFFIXES z3
   DOC "Z3 C header"
 )
 if (Z3_INCLUDE_DIRS)