Skip to content

Commit

Permalink
Compatible with cmake < 3.7
Browse files Browse the repository at this point in the history
`GREATER_EQUAL` was introduced since cmake 3.7

Related to #2568
  • Loading branch information
wasphin committed Mar 13, 2024
1 parent 37814d2 commit 85b664b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif()

find_package(Protobuf REQUIRED)
if(Protobuf_VERSION GREATER_EQUAL 4.22)
if(Protobuf_VERSION GREATER 4.21)
# required by absl
set(CMAKE_CXX_STANDARD 17)

Expand Down

0 comments on commit 85b664b

Please sign in to comment.