-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patch to fix building Abseil with CMake 3.30.0
Fixes #158
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
patches/abseil/0001-Avoid-export-of-testonly-target-absl-test_allocator-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 779a3565ac6c5b69dd1ab9183e500a27633117d5 Mon Sep 17 00:00:00 2001 | ||
From: Derek Mauro <[email protected]> | ||
Date: Tue, 30 Jan 2024 10:13:25 -0800 | ||
Subject: [PATCH] Avoid export of testonly target absl::test_allocator in CMake | ||
builds | ||
|
||
Closes #1536 | ||
|
||
PiperOrigin-RevId: 602764437 | ||
Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6 | ||
--- | ||
absl/container/CMakeLists.txt | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt | ||
index 449a2cad..ee9ca9c3 100644 | ||
--- a/absl/container/CMakeLists.txt | ||
+++ b/absl/container/CMakeLists.txt | ||
@@ -213,6 +213,7 @@ absl_cc_library( | ||
DEPS | ||
absl::config | ||
GTest::gmock | ||
+ TESTONLY | ||
) | ||
|
||
absl_cc_test( | ||
-- | ||
2.45.2 | ||
|