cmake: Forgot to add this file to revision control.

Fixes Bugzilla #5003.
This commit is contained in:
Ryan C. Gordon 2020-02-25 14:52:03 -05:00
parent 21a2e0c787
commit cbd1a2f7dc
1 changed files with 11 additions and 0 deletions

View 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()