-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing Wayland cmake definitions and linkage #250
Conversation
So 'Linux' actually wasn't matching CMAKE_SYSTEM_NAME and removing the single quotes makes it match so it turned on WAYLAND by default in the build above. That exposed some missing definitions and library linkage so I've fixed that here. I also turned off wayland by default which is how it was behaving originally (because it never matched 'Linux') |
Disclaimer: not a maintainer.
I think wayland is supposed to be turned on by default: #234 |
There was a lot of push recently in the distro and DE space this year to ditch XOrg finally. I would prefer to keep Wayland as default as long as it's working. |
It actually wasn't enabled by default before, it just looked like it was. |
46ff81a
to
aa8d5cc
Compare
Alright squashed my changes. It looks like the bgfx.cmake's bgfx amalgamated build doesn't work with wayland enabled but it compiles on newer bgfx. So I could update the bgfx ref. |
I bumped bgfx version so the amalgamated build with wayland enabled works. CI is passing in my fork. |
@bwrsandman this is ready to pull in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will merge this after dependabot merges your spriv-opt fix
In newer versions of cmake this line triggers a CMP0127 warning. Removing the quotes because they're not needed in older versions of cmake and doesn't trigger the warning in newer version of cmake.