From 8222bfe56d4dabe8d92fc4b25ea1b0163b16f3e1 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 4 May 2024 16:51:29 -0700 Subject: Initial commit. --- src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in (limited to 'src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in') 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 @@ +# sdl2 cmake project-config-version input for ./configure scripts + +set(PACKAGE_VERSION "@SDL_VERSION@") + +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