summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in')
-rw-r--r--src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in b/src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in
new file mode 100644
index 0000000..5c6aee4
--- /dev/null
+++ b/src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in
@@ -0,0 +1,12 @@
1# sdl2 cmake project-config-version input for ./configure scripts
2
3set(PACKAGE_VERSION "@SDL_VERSION@")
4
5if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
6 set(PACKAGE_VERSION_COMPATIBLE FALSE)
7else()
8 set(PACKAGE_VERSION_COMPATIBLE TRUE)
9 if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
10 set(PACKAGE_VERSION_EXACT TRUE)
11 endif()
12endif()