summaryrefslogtreecommitdiff
path: root/src/contrib/SDL-2.30.2/sdl2-config-version.cmake.in
blob: 5c6aee44d477b8cf48a65d3dc3ce27204e45e8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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()