<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> IME it's usually better to write your own build snippets when intergating a 3rd party library, can often be done in a handful lines of cmake script (or even switch to your own build system). The only library where I had to give up was Google's Dawn.</p><p>For example, those 100 lines replace thousands of lines of original cmake script:</p><p><a href="https://github.com/floooh/sokol-tools/blob/master/ext/CMakeLists.txt" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/floooh/sokol-tools/</span><span class="invisible">blob/master/ext/CMakeLists.txt</span></a></p>