cmake: disable oss by default on OpenBSD, not FreeBSD

This fixes ed3fad1880
main
Anonymous Maarten 2023-11-28 16:45:33 +01:00
parent ceac93ade2
commit 5772e00c3f
1 changed files with 1 additions and 1 deletions

View File

@ -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)