SDL3-CS/External/exclude-gameinput.patch

11 lines
325 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1953,6 +1953,7 @@ elseif(WINDOWS)
check_c_source_compiles("
#include <stdbool.h>
#define COBJMACROS
+ #error SDL does not build on Github Actions with GameInput
#include <gameinput.h>
int main(int argc, char **argv) { return 0; }" HAVE_GAMEINPUT_H
)