Skip to content

Commit

Permalink
Use VERSION_GREATER_EQUAL
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-cerny committed May 30, 2022
1 parent 8dec1bb commit bd41965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindRPM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set(RPM_VERSION ${RPM_PKGCONF_VERSION})
if(RPM_VERSION)
string(COMPARE GREATER "4.6" ${RPM_VERSION} RPM46_FOUND)
string(COMPARE GREATER "4.7" ${RPM_VERSION} RPM47_FOUND)
if(NOT (RPM_VERSION VERSION_LESS "4.18"))
if(RPM_VERSION VERSION_GREATER_EQUAL "4.18")
set(RPM418_FOUND 1)
endif()
endif()
Expand Down

0 comments on commit bd41965

Please sign in to comment.