From dc0f9628b262b47f37ca7cdf15657f576ab71a45 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 11 Jun 2025 20:21:29 +1200 Subject: Add windows cross-compile build support, this was a piece of SHIT to do! --- .../lib/cmake/SDL2/sdl2-config-version.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake (limited to 'SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake') diff --git a/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake new file mode 100644 index 0000000..f6683e8 --- /dev/null +++ b/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake @@ -0,0 +1,12 @@ +# sdl2 cmake project-config-version input for ./configure scripts + +set(PACKAGE_VERSION "2.24.0") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() +endif() -- cgit v1.2.3