cmake: Add PACKAGE_VERSION and SDL2_VERSION to sdl2-config.cmake.in

Fixes Bugzilla #4970.
This commit is contained in:
Ryan C. Gordon 2020-02-14 13:37:32 -05:00
parent 5cea2bb70e
commit b88ebe6a95
2 changed files with 15 additions and 1 deletions

View file

@ -3,6 +3,8 @@
set(prefix "@prefix@")
set(exec_prefix "@exec_prefix@")
set(libdir "@libdir@")
set(PACKAGE_VERSION "@SDL_VERSION@")
set(SDL2_VERSION "@SDL_VERSION@")
set(SDL2_PREFIX "@prefix@")
set(SDL2_EXEC_PREFIX "@prefix@")
set(SDL2_LIBDIR "@libdir@")