From 3e57d7a86fa699e8cb86276cf7f6ed0899cf50d0 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Fri, 8 Nov 2024 02:24:28 +0100 Subject: [PATCH] add comment about _head --- cpp/cmake_modules/FindabslAlt.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/cmake_modules/FindabslAlt.cmake b/cpp/cmake_modules/FindabslAlt.cmake index 1c6ad16d244de..a7ebe63f5eb49 100644 --- a/cpp/cmake_modules/FindabslAlt.cmake +++ b/cpp/cmake_modules/FindabslAlt.cmake @@ -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()