mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 21:16:04 +00:00
cmake: Forgot to add this file to revision control.
Fixes Bugzilla #5003.
This commit is contained in:
parent
21a2e0c787
commit
cbd1a2f7dc
1 changed files with 11 additions and 0 deletions
11
sdl2-config-version.cmake.in
Normal file
11
sdl2-config-version.cmake.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue