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

cmake: Don't force Release build. Fixes -DCMAKE_RELAEASE_TYPE not working #673

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nh2
Copy link

@nh2 nh2 commented Jan 9, 2025

That made packaging and debugging hell for distros and users, see e.g. #450 (comment)

Also fix that Converter/libs/brotli/CMakeLists.txt overrode the build type globally again.

Note that there seems to be no global consensus on how to just set the default bulid type in CMake:

So this commit arbitrarily chooses one way that at least isn't absolutely wrong.

…king.

That made packaging and debugging hell for distros and users, see e.g.
potree#450 (comment)

Also fix that `Converter/libs/brotli/CMakeLists.txt` overrode the build type
globally again.

Note that there seems to be no global consensus on how to just set
the default bulid type in CMake:

* https://cmake.org/pipermail/cmake/2008-September/023808.html
* https://stackoverflow.com/questions/23907679/cmake-ignores-d-cmake-build-type-debug
* https://blog.kitware.com/cmake-and-the-default-build-type/
* https://stackoverflow.com/questions/48832233/have-a-cmake-project-default-to-the-release-build-type

So this commit arbitrarily chooses one way that at least isn't absolutely wrong.
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.

1 participant