sdl2-config-version.cmake.in
author Ryan C. Gordon
Tue, 25 Feb 2020 14:52:03 -0500
changeset 13553 78754c9488f6
permissions -rw-r--r--
cmake: Forgot to add this file to revision control.

Fixes Bugzilla #5003.
     1 set(PACKAGE_VERSION "@SDL_VERSION@")
     2 
     3 if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
     4   set(PACKAGE_VERSION_COMPATIBLE FALSE)
     5 else()
     6   set(PACKAGE_VERSION_COMPATIBLE TRUE)
     7   if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
     8     set(PACKAGE_VERSION_EXACT TRUE)
     9   endif()
    10 endif()
    11