Skip to content

Commit

Permalink
Fix PACKAGE_VERSION output in cmake version file
Browse files Browse the repository at this point in the history
  • Loading branch information
bcarmo-caio authored and madebr committed Oct 2, 2023
1 parent f1da63a commit 70527e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl2_image-config-version.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sdl2_image cmake project-config-version input for ./configure scripts

set(PACKAGE_VERSION "@MAJOR_VERSION_MACRO@.@MINOR_VERSION_MACRO@.@MICRO_VERSION_MACRO@")
set(PACKAGE_VERSION "@MAJOR_VERSION@.@MINOR_VERSION@.@MICRO_VERSION@")

if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
Expand Down

0 comments on commit 70527e1

Please sign in to comment.