<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    That way it works. I Found it in the cmake docs yesterday and
    through a google search but I put the wrong path in my
    CMakeLists.txt.<br>
    Now everything works with find_package.<br>
    <br>
    Thanks all.<br>
    <br>
    <div class="moz-cite-prefix">Am 11.10.2016 um 22:07 schrieb Chuck
      Atkins:<br>
    </div>
    <blockquote
cite="mid:CAOXZzG6i4FUifcQQ1-wO8jj=N2_0aVKx2bEqzPU3iuGc2soD9A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>Hi Timo,<br>
            </div>
          </div>
          You don't have to run through the entire install before it
          will work.  You just need to be able to locate an
          LLVMConfig.cmake, which is generated from the configure step. 
          After the initial cmake configure pass, you should have a
          ./lib/cmake/llvm/LLVMConfig.cmake in the llvm build
          directory.  If you look at the CMake docs for find_package,
          you can see it's search heuristics and that if you set the
          CMake variable LLVM_DIR to
          /path/to/llvm-build-dir/lib/cmake/llvm/ then find_package
          should work.<br>
          <br>
        </div>
        <div class="gmail_extra">- Chuck<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>