sdl2-config-version.cmake.in
author Sam Lantinga <slouken@libsdl.org>
Fri, 13 Mar 2020 19:00:22 -0700
changeset 13619 217a7d8a5fef
parent 13553 78754c9488f6
permissions -rw-r--r--
Fixed crash if manufacturer or product string is NULL
     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