Just as a sidenote,&nbsp; Taglib calls itself the &quot;tag&quot; project in its CMakeLists.txt, so the correct approach is:<br><br>target_link_libraries (Bar1 ... tag)<br><br>and CMake properly picks up the library dependency - I still haven&#39;t figured out a clean way of getting the include directories to work properly (outside of actually mimicing the taglib installed include directory)<br>
<br>Thanks,<br>Vitali<br><br><div class="gmail_quote">On Thu, Nov 13, 2008 at 10:59 AM, Vitali Lovich <span dir="ltr">&lt;<a href="mailto:vlovich@gmail.com">vlovich@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The only problem is that taglib assumes that all the header files are present in a single directory, and I&#39;m not sure how to get it to either pick up the ones the source is using - it&#39;s kind of messy duplicating all those includes in the other project.&nbsp; Currently, I&#39;m just copying all the headers into a single directory like taglib does when it installs.&nbsp; Anyone have a better suggestion?<br>

<br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, Nov 12, 2008 at 11:52 PM, Yogesh Marwaha <span dir="ltr">&lt;<a href="mailto:yogeshm.007@gmail.com" target="_blank">yogeshm.007@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
If you have included taglib sources into your project, following should be enough<br>target_link_libraries (Bar1 ... taglib) [in Bar1/CMakeLists.txt]<br>this should take into account your local taglib sources and add a dependency<br>


<br>Btw I&#39;m just a beginner with cmake and using <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a> you may get better/technically sound answers<br><br>

Regards,<br><br>

<br></div></div>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br>