Skip to content

Commit

Permalink
add comment about _head
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Nov 8, 2024
1 parent fe7fc61 commit 3e57d7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/cmake_modules/FindabslAlt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ find_package(absl ${find_package_args})
if(NOT DEFINED absl_VERSION)
# Abseil does not define a version when build 'live at head'.
# As this is their recommended path we need to define a large version to pass version checks.
# CMake removes the '_head' suffix for version comparison but it will show up in the logs
# and matches the abseil-cpp.pc version of 'head'
set(absl_VERSION 99999999_head)
endif()

Expand Down

0 comments on commit 3e57d7a

Please sign in to comment.