SDL: cmake: disable oss by default on OpenBSD, not FreeBSD

From 5772e00c3f12f80374f67667dff66315265bb2fb Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 28 Nov 2023 16:45:33 +0100
Subject: [PATCH] cmake: disable oss by default on OpenBSD, not FreeBSD

This fixes ed3fad18808714f9fab3111a45d06264ea6fb0c5
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e5b112d7822..fab3c11e2064 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -220,7 +220,7 @@ if(VITA OR PSP OR PS2 OR N3DS OR RISCOS)
   set(SDL_LOADSO_DEFAULT OFF)
 endif()
 
-if((RISCOS OR UNIX_SYS) AND NOT (LINUX OR NETBSD OR FREEBSD))
+if((RISCOS OR UNIX_SYS) AND NOT (LINUX OR NETBSD OR OPENBSD))
   set(SDL_OSS_DEFAULT ON)
 else()
   set(SDL_OSS_DEFAULT OFF)