From 5e2b6d72e7b83c034f918c339733a2535ff2aa7d Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Mon, 11 Apr 2022 17:33:16 +0300 Subject: [PATCH] libphonenumber must be linked with absl::node_hash_set (#2749) It is used in the library with #2734, and not linking with it breaks users of the library: https://bugs.debian.org/1008817 Co-authored-by: penmetsaa --- cpp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 588b97177..3899006a2 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -477,7 +477,7 @@ endif () # Safeguarding against any potential link errors as mentioned in # https://github.com/abseil/abseil-cpp/issues/225 set(CMAKE_POSITION_INDEPENDENT_CODE TRUE) -list (APPEND LIBRARY_DEPS absl::strings) +list (APPEND LIBRARY_DEPS absl::node_hash_set absl::strings) list (APPEND COMMON_DEPS absl::synchronization) if (APPLE)