mirror of
https://github.com/libsdl-org/SDL
synced 2024-11-20 16:06:10 -07:00
12 lines
351 B
CMake
12 lines
351 B
CMake
# 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()
|