Skip to content

Commit

Permalink
cmake: Forgot to add this file to revision control.
Browse files Browse the repository at this point in the history
Fixes Bugzilla #5003.
  • Loading branch information
icculus committed Feb 25, 2020
1 parent 21a2e0c commit cbd1a2f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sdl2-config-version.cmake.in
@@ -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()

0 comments on commit cbd1a2f

Please sign in to comment.