Hi, I&#39;m using CMake for my build system, and I was wondering how I would go about integrating taglib into my CMake project.<br><br>Here&#39;s my current structure.<br><br>Project Foo<br>&nbsp;&nbsp; Sub directory Bar1<br>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; executable bar1<br>
&nbsp;&nbsp; Sub directory Bar2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; executable bar2<br>&nbsp;&nbsp; Sub directory taglib (sources from taglib extracted here)<br><br>I want to have both bar1 &amp; bar2 depend on TagLib - how would I go about doing this without actually installing taglib on my system (is it even possible)?&nbsp; Namely, what&#39;s the dependency command I need in my CMakeLists.txt + any include &amp; link commands I would need.&nbsp; Thanks.<br>
<br>I&#39;ve tried `find_package(taglib)&#39; but that throws an error in taglib-config.cmake:<br><br>find_package Error reading CMake code from<br>&nbsp; &quot;C:/projects/mediasynch/MediaIndexer/../taglib/taglib-config.cmake&quot;)<br>
<br>cmake configures the project fine if I do it as a standalone.<br>