Skip to content

LibraryConfigurations.cmake: exchanged MATCHES -> STREQUAL in platform choosing if-statements#5654

Merged
raysan5 merged 5 commits into
raysan5:masterfrom
Crisspl:cmake-build-fix
Mar 15, 2026
Merged

LibraryConfigurations.cmake: exchanged MATCHES -> STREQUAL in platform choosing if-statements#5654
raysan5 merged 5 commits into
raysan5:masterfrom
Crisspl:cmake-build-fix

Conversation

@Crisspl
Copy link
Copy Markdown
Contributor

@Crisspl Crisspl commented Mar 14, 2026

To be honest I dont know how it didnt break for me before.
However, it became apparent for me that if (${PLATFORM} MATCHES "Web") with PLATFORM=WebRGFW resolves to true, as partial matches as apparently accepted as well (?) by cmake. So it was effectively impossible to choose WebRGFW platform.

@raysan5 raysan5 merged commit 116191f into raysan5:master Mar 15, 2026
4 checks passed
@raysan5
Copy link
Copy Markdown
Owner

raysan5 commented Mar 15, 2026

@Crisspl Thanks for the review, notice that WebRGFW was added recently.

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