cmake: Add WERROR option

It is meant to be used for CI
This commit is contained in:
Tasos Sahanidis
2023-06-23 15:36:59 +03:00
parent 74f5a46d5a
commit 8f9d0e5749
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -121,6 +121,7 @@ option(DEBUG_MUTEX "Show debugging information regarding thread synchronisat
option(NO_FAIR_MUTEX_QUEUEING "Disable fair mutex queueing. Debugging only." OFF)
option(DEBUG_INPUT_SYNC "Print a debug message every time an event bundle is delivered to the OS." OFF)
option(FPS_COUNTER "Enable FPS counters." OFF)
option(WERROR "Enable Werror (for CI)" OFF)
# Make sure NO_FAIR_MUTEX_QUEUEING is set if TSAN is enabled
# Otherwise you end up with threading issues that are not detected