There is an updated pull request by Johnnynator against master on the void-packages repository https://github.com/Johnnynator/void-packages cmake-wx https://github.com/void-linux/void-packages/pull/27496 Streamline workarounds for wxWidgets usage in cmake A patch file from https://github.com/void-linux/void-packages/pull/27496.patch is attached