sdl3: Allow building without windowing protocols
It is an explicit choice to disable both x11 and wayland here, so this is not an error.
This commit is contained in:
@@ -178,7 +178,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "SDL_TESTS" true)
|
||||
(lib.cmakeBool "SDL_INSTALL_TESTS" true)
|
||||
(lib.cmakeBool "SDL_DEPS_SHARED" false)
|
||||
];
|
||||
]
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
stdenv.hostPlatform.isUnix
|
||||
&& !(stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isAndroid)
|
||||
&& !(x11Support || waylandSupport)
|
||||
)
|
||||
[
|
||||
(lib.cmakeBool "SDL_UNIX_CONSOLE_BUILD" true)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user