File: disable-abseil-git-fetch.patch

package info (click to toggle)
libphonenumber 8.12.57%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 99,276 kB
  • sloc: cpp: 52,362; xml: 48,242; javascript: 31,137; java: 29,151; ansic: 482; jsp: 228; sh: 44; makefile: 24
file content (16 lines) | stat: -rw-r--r-- 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: use Debian packaging of abseil during build
Author: tony mancill <tmancill@debian.org>
Forwarded: not-needed

--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -26,6 +26,9 @@
 set (libphonenumber_VERSION_MINOR 12)
 set (libphonenumber_VERSION_PATCH 0)
 
+set(absl "/usr/lib/*/cmake/absl")
+find_package(absl REQUIRED)
+
 #if (32BIT)
 #  set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
 #  set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")