[PATCH] D31756: [cmake] Support Gentoo install for z3
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 6 05:38:33 PDT 2017
mgorny created this revision.
Add the 'z3' subdirectory to the list of possible path suffixes for
libz3 header search. The z3 headers are installed in /usr/include/z3
on Gentoo.
Repository:
rL LLVM
https://reviews.llvm.org/D31756
Files:
cmake/modules/FindZ3.cmake
Index: cmake/modules/FindZ3.cmake
===================================================================
--- cmake/modules/FindZ3.cmake
+++ cmake/modules/FindZ3.cmake
@@ -1,5 +1,5 @@
find_path(Z3_INCLUDE_DIR NAMES z3.h
- PATH_SUFFIXES libz3
+ PATH_SUFFIXES libz3 z3
)
find_library(Z3_LIBRARIES NAMES z3 libz3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31756.94354.patch
Type: text/x-patch
Size: 318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170406/6ffe29e2/attachment.bin>
More information about the cfe-commits
mailing list