<div dir="ltr">Thanks Ralf. I am now running into the issue below. I have both of the libraries but they are not in the ld path (KDE neon). I could help throw in a FindClang.cmake file to locate clang. There are a few out there that I could grab. If you want me to, let me know where to put it. Do we want it specific to the unittests or should we call FindClang at a higher level so the vars are available to others? I could drop it in the top-level cmake directory.<div><br></div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">[ 98%] </span><span style="font-weight:bold;color:rgb(84,255,84)">Linking CXX executable test-llvm</span><span style="color:rgb(0,0,0)">
</span><br>/usr/bin/ld: cannot find -lclangFrontend
<br>/usr/bin/ld: cannot find -lclangTooling
<br>collect2: error: ld returned 1 exit status
<br>unittests/CMakeFiles/test-llvm.dir/build.make:128: recipe for target 'unittests/test-llvm' failed
<br>make[2]: *** [unittests/test-llvm] Error 1
<br>CMakeFiles/Makefile2:820: recipe for target 'unittests/CMakeFiles/test-llvm.dir/all' failed
<br>make[1]: *** [unittests/CMakeFiles/test-llvm.dir/all] Error 2
<br>Makefile:138: recipe for target 'all' failed
<br>make: *** [all] Error 2<br>
<br><br><br></span><div class="gmail_quote">My system info:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">mckenney@sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ <b>cat /etc/lsb-release</b>  </span><br>DISTRIB_ID=neon
<br>DISTRIB_RELEASE=16.04
<br>DISTRIB_CODENAME=xenial
<br>DISTRIB_DESCRIPTION="KDE neon User Edition 5.7" </span></div><div class="gmail_quote"><span style="font-family:monospace"><br>mckenney@sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ <b>gcc --version</b>
<br>gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
<br>Copyright (C) 2015 Free Software Foundation, Inc.
<br>This is free software; see the source for copying conditions.  There is NO
<br>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<br>
<br>mckenney@sanvicente:~/kdesrc/extragear/kdevelop/kdevelop$ <b>find /usr/lib | grep -i clangfrontend</b>
<br>/usr/lib/llvm-3.7/lib/lib<span style="font-weight:bold;color:rgb(255,84,84)">clangFrontend</span><span style="color:rgb(0,0,0)">.a
</span><br>/usr/lib/llvm-3.7/lib/lib<span style="font-weight:bold;color:rgb(255,84,84)">clangFrontend</span><span style="color:rgb(0,0,0)">Tool.a
</span><br>/usr/lib/llvm-3.8/lib/lib<span style="font-weight:bold;color:rgb(255,84,84)">clangFrontend</span><span style="color:rgb(0,0,0)">.a
</span><br>/usr/lib/llvm-3.8/lib/lib<span style="font-weight:bold;color:rgb(255,84,84)">clangFrontend</span><span style="color:rgb(0,0,0)">Tool.a</span></span></div><div class="gmail_quote"><span style="font-family:monospace"><br></span></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Shawn McKenney<div>President, Emmion</div><div>858 254 5468</div></div></div>
</div></div></div>