]> granicus.if.org Git - clang/commit
[cmake] Obtain LLVM_CMAKE_PATH from llvm-config
authorMichal Gorny <mgorny@gentoo.org>
Mon, 9 Jan 2017 23:06:39 +0000 (23:06 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Mon, 9 Jan 2017 23:06:39 +0000 (23:06 +0000)
commite0078e5ad7b5e75cd2039496b5307698571cf56a
tree526fb8803d2d6623d5a5f04fbb279f686f415226
parent7490caa65f86ab51944be20cf00b4a7cf175670a
[cmake] Obtain LLVM_CMAKE_PATH from llvm-config

Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from
llvm-config instead of reconstructing it locally.

Differential Revision: https://reviews.llvm.org/D26900

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291495 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt