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

Changes in CMake files to avoid downloading bullet when it is not needed #3051

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

Bimbloc
Copy link
Contributor

@Bimbloc Bimbloc commented Mar 1, 2024

Just a check before downloading bullet making sure the user is interested in building the ogre bullet module since otherwise bullet would not really be considered strictly necessary unlike sdl for example.

@paroj paroj merged commit 254936e into OGRECave:master Mar 3, 2024
6 checks passed
@paroj
Copy link
Member

paroj commented Mar 3, 2024

👍 thanks!

paroj added a commit to paroj/ogre that referenced this pull request Mar 3, 2024
@paroj
Copy link
Member

paroj commented Mar 3, 2024

had to revert this again after taking a closer look. The issue is that Dependencies are handled before the options, as options depend on the dependencies having been built:

cmake_dependent_option(OGRE_BUILD_COMPONENT_BULLET "Build Bullet physics component" TRUE "BULLET_FOUND" FALSE)

this leaves OGRE_BUILD_DEPENDENCIES an all or nothing setting for now

@Bimbloc
Copy link
Contributor Author

Bimbloc commented Mar 3, 2024 via email

paroj added a commit that referenced this pull request Mar 3, 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