From 36314421a01cd10167607b2fe2fc3f51cc954815 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 7 Aug 2023 18:29:12 +0200
Subject: [PATCH] cmake: default SDL2COMPAT_WERROR to off
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8162a1d..57833ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,7 @@ set(SDL_DYLIB_COMPAT_VERSION "${SDL_DYLIB_COMPAT_VERSION_MAJOR}.${SDL_DYLIB_COMP
option(SDL2COMPAT_TESTS "Enable to build SDL2 test programs" ON)
option(SDL2COMPAT_DEVEL "Enable installing SDL2 development headers" ON)
option(SDL2COMPAT_STATICDEVEL "Enable installing static link library" OFF)
-option(SDL2COMPAT_WERROR "Treat warnings as errors" ON)
+option(SDL2COMPAT_WERROR "Treat warnings as errors" OFF)
set(SDL2COMPAT_VENDOR_INFO "" CACHE STRING "Vendor name and/or version to add to SDL_REVISION")
#FIXME: should SDL2-compat modify vendor_info/revision information?