]> granicus.if.org Git - clang/commit
CMake: Don't look for llvm-tblgen when building outside LLVM tree
authorHans Wennborg <hans@hanshq.net>
Fri, 23 Aug 2013 18:05:24 +0000 (18:05 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 23 Aug 2013 18:05:24 +0000 (18:05 +0000)
commite90340a7e34067a474317c7f03c109b7c0d0ef66
tree535e5a5301502798e6d26972ff8cb459adabde6f
parent2b429358a9849e2e48520a03065fa385a02dc115
CMake: Don't look for llvm-tblgen when building outside LLVM tree

Previously, the CMake build would look for llvm-tblgen to determine
if a directory is an LLVM build or install directory. Since we don't
want to include llvm-tblgen in the install, look for llvm-config instead,
and use that to find llvm-tblgen.

Differential Revision: http://llvm-reviews.chandlerc.com/D1483

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