sammycage / lunasvg

lunasvg is a standalone SVG rendering library in C++
MIT License
818 stars 115 forks source link

Fixed incorrect INSTALL_INTERFACE #138

Open adamkewley opened 11 months ago

adamkewley commented 11 months ago

Related #132

I'm using lunasvg in opensim-creator, which is a cross-platform app for Linux, Mac, and Windows.

Lunasvg works great, but I am finding (similar to #132) that the installed CMake target cannot locate the installed header files etc.. I generally have to patch each lunasvg with this changeset in order to get things working on my target platforms.

I don't know if this is the best approach for it--this is just a suggestion--and I don't have any expectations w.r.t. changes, timelines, etc. - this is just an idea that would be handy for me if considered, because it would mean I don't need to manually add this changeset to each lunasvg release whenever I get around to updating my dependencies.

adamkewley commented 11 months ago

(force-updated with a version that worked when clean-building OSC: my aim with the branch is to provide a single commit that i can cherry-pick later on newer versions of lunasvg if this isn't patched)