New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/pull/28224#issuecomment-768318498 Comment: I'm not sure upstream will want to fix it. The issue is how SDL2's cmake files are created, because they are using the correct way of finding the dependency. Have you tried adding a patch that reverts the commit I linked?