[cmake] Obtain LLVM_CMAKE_PATH from llvm-config if available

Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from
llvm-config. Fallback to local reconstruction if llvm-config does not
support this option.

git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@291505 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed
tree: 3440b554bf7452efb25635d3c8a17abc0288ffed
  1. cmake/
  2. include/
  3. src/
  4. test/
  5. .arcconfig
  6. .clang-format
  7. CMakeLists.txt