<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Playing around with PhysFS more I have found that the custom targets of dist and uninstall can also result in conflicts with other libraries a. Wrapping both targets with 'if (NOT TARGET <i>targetname</i>)' would resolve these problems, or a option like what I suggested with docs. I also found it strange having a shared and static library build option and not just one lib with a configurable type.</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 3:11 PM Mattparks <<a href="mailto:mattparks5855@gmail.com">mattparks5855@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">I have a CMake project with PhysFS added as a sub-directory along with other libraries, I am having a name conflict  with the docs custom target. A great way to fix this would be to add a PHYSFS_BUILD_DOCS option to the PhysFS CMakeLists file, and only find Doxygen if the option is enabled.</div></div>
</blockquote></div>