Skip to content

Conversation

@fruzitent
Copy link
Contributor

@fruzitent fruzitent commented Jun 6, 2024

Raylib as a library should not override the CMAKE_MODULE_PATH variable. This is the way it is used in glfw.

As it also depends on find_package() calls which expect system-wide installed dependencies, this prevents you from using custom Find<target>.cmake files to build them in-source.

In CMake this is a bit hacky, but in e.g. meson this is natively supported behavior.

@raysan5 raysan5 merged commit 7b92b5b into raysan5:master Jun 7, 2024
@raysan5
Copy link
Owner

raysan5 commented Jun 7, 2024

@fruzitent thanks for the review! Please note that I do not maintain the CMake build system, in case this PR results in some unexpected behaviour, it is not tested by me.

JayLCypher pushed a commit to JayLCypher/raylib that referenced this pull request Jun 9, 2024
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