Skip to content

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