aboutsummaryrefslogtreecommitdiff
path: root/SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
committerArslaan Pathan <[email protected]>2025-06-11 20:21:29 +1200
commitdc0f9628b262b47f37ca7cdf15657f576ab71a45 (patch)
tree9a06c44bb510d90d74c225fb543bfce04b1303a2 /SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake
parent5dfe69e4580073c9bdeaed605a46cf0ec3e24ad2 (diff)
downloadshowdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.tar.xz
showdownofthesticks-dc0f9628b262b47f37ca7cdf15657f576ab71a45.zip
Add windows cross-compile build support, this was a piece of SHIT to do!
Diffstat (limited to 'SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake')
-rw-r--r--SDL2-2.24.0/x86_64-w64-mingw32/lib/cmake/SDL2/sdl2-config-version.cmake12
1 files changed, 12 insertions, 0 deletions
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()