build: Set default CMake options so werror is disabled

This commit is contained in:
Joni Räsänen 2023-05-03 12:43:51 +03:00
parent aeaa71e6b4
commit 9216f4bbee
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ include(GNUInstallDirs)
option(UVGRTP_DISABLE_CRYPTO "Do not build uvgRTP with crypto enabled" OFF)
option(UVGRTP_DISABLE_PRINTS "Do not print anything from uvgRTP" OFF)
option(UVGRTP_DISABLE_WERROR "Ignore compiler warnings" OFF)
option(UVGRTP_DISABLE_WERROR "Ignore compiler warnings" ON)
option(UVGRTP_DISABLE_TESTS "Do not build unit tests" OFF)
option(UVGRTP_DISABLE_EXAMPLES "Do not build examples" OFF)

View File

@ -10,6 +10,7 @@ When issuing a pull request (PR) to uvgRTP. Please consider the following aspect
### PR code
- Should compile both on with newest GCC, MinGW and MSVC. We can help with testing if needed.
- Try to avoid code duplication
- Try to avoid unnecessary compiler warnings
### Version history
- Try to keep commits small and limited to improving one specific aspect of uvgRTP