diff options
author | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-05-04 16:51:29 -0700 |
commit | 8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 (patch) | |
tree | 763389e42276035ac134d94eb1dc32293b88d807 /src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in |
Initial commit.
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.in | 12 |
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 | |||
3 | set(PACKAGE_VERSION "@SDL_VERSION@") | ||
4 | |||
5 | if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) | ||
6 | set(PACKAGE_VERSION_COMPATIBLE FALSE) | ||
7 | else() | ||
8 | set(PACKAGE_VERSION_COMPATIBLE TRUE) | ||
9 | if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) | ||
10 | set(PACKAGE_VERSION_EXACT TRUE) | ||
11 | endif() | ||
12 | endif() | ||