Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mtytel
Copy link

@mtytel mtytel commented Oct 3, 2024

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.

@mtytel mtytel changed the title Fixing CMP0127 policy warning Fixing Wayland cmake definitions and linkage Oct 4, 2024
@mtytel
Copy link
Author

mtytel commented Oct 4, 2024

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')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant