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

build: remove OpenGL::GL dependency for GL3 backends #684

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

std-microblock
Copy link
Contributor

why still linking to OpenGL::GL even when using GLAD?

why still linking to OpenGL::GL even when using GLAD?
@mikke89 mikke89 added the build Build system and compilation label Oct 6, 2024
@mikke89
Copy link
Owner

mikke89 commented Oct 6, 2024

Hey, and thanks for the PR.

And that's true, you have a point. For the GL3 backends we always use glad, we only use the system libraries for the GL2 backends.

You can see from the CI checks that it this fails to build emscripten. That one does indeed need the OpenGL::GL target (from our custom find module). So we have to solve this before this PR can be merged.

@std-microblock
Copy link
Contributor Author

I see. Should I write an if or make wasm a individual target?

@mikke89 mikke89 merged commit 8ba63fb into mikke89:master Oct 12, 2024
32 checks passed
@mikke89
Copy link
Owner

mikke89 commented Oct 12, 2024

Hi, I wanted some additional notes and changes here, so I added it directly to the PR, and also made Emscripten green. Thanks again for the PR!

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

Successfully merging this pull request may close these issues.

2 participants