Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: add switch to build with -Werror
Add a simple switch to enable building with "-Werror=<warning>" instead of "-W<warning". Due to the encapsulated `ENABLE_WARNINGS` macro, this is as simple as adding a new variable "ENABLE_WERROR`, which can be passed on the command line via `-DENABLE_WERROR=ON`. The variable defaults to NO to not bother developers in their day to day work.
- Loading branch information