Skip to content

fix: build fails if BUILD_SHARED_LIBS is set to ON when building bundled glfw#107

Merged
arntanguy merged 1 commit into
rohanpsingh:mainfrom
Kooolkimooov:main
May 26, 2026
Merged

fix: build fails if BUILD_SHARED_LIBS is set to ON when building bundled glfw#107
arntanguy merged 1 commit into
rohanpsingh:mainfrom
Kooolkimooov:main

Conversation

@Kooolkimooov

Copy link
Copy Markdown
Contributor

If BUILD_SHARED_LIBS is set to ON, glfw is built as a shared object instead of static even though BUILD_STATIC is also set and the combined lib fails to build.

In my case it was set by ROS Lyrical (I suspect that this pr may have something with it) but it is not impossible that I may happen in other ways.

@arntanguy

Copy link
Copy Markdown
Collaborator

Looks good, thanks for the fix 👍

@arntanguy arntanguy merged commit d8422eb into rohanpsingh:main May 26, 2026
2 checks passed
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.

2 participants