]> granicus.if.org Git - clang/commit
[CMake] Tweak r197697 to handle CMake finding the wrong llvm-config/tblgen.
authorJordan Rose <jordan_rose@apple.com>
Thu, 19 Dec 2013 18:39:05 +0000 (18:39 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 19 Dec 2013 18:39:05 +0000 (18:39 +0000)
commit3a0032de2385deed194f4b9f87a9f05c937e289a
tree10d9baa87c0178d5b1ae3ad3aaf6ad7dff9434f1
parente0407ebe58aba12bf2c4f7b38b8805c17ba6b4ee
[CMake] Tweak r197697 to handle CMake finding the wrong llvm-config/tblgen.

- If llvm-config fails, output an error to the user rather than allowing
  errors to cascade.
- Always get llvm-tblgen from llvm-config's bindir.

Turns out my PATH points to a really old version of LLVM; both of these
fell out of trying to make this experience nicer.

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