diff options
-rw-r--r-- | dev-util/cquery/cquery-20180718.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-util/cquery/cquery-20180718.ebuild b/dev-util/cquery/cquery-20180718.ebuild index bbf5232..8dd3596 100644 --- a/dev-util/cquery/cquery-20180718.ebuild +++ b/dev-util/cquery/cquery-20180718.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils +inherit cmake-utils llvm DESCRIPTION="C/C++ language server" HOMEPAGE="https://github.com/cquery-project/cquery" @@ -14,6 +14,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="" +DEPEND="sys-devel/llvm:=" RDEPEND="${DEPEND}" BDEPEND=">=dev-util/cmake-3.1" + +src_configure() { + local mycmakeargs=( + -DSYSTEM_CLANG=ON + -DCMAKE_PREFIX_PATH="$(get_llvm_prefix)" + ) + cmake-utils_src_configure +} |