[XS] Change in code/re2[main]: CMakeLists.txt: fix dependencies for shared library build

3 views
Skip to first unread message

Russ Cox (Gerrit)

unread,
Jul 30, 2025, 2:54:28 PMJul 30
to Alan Donovan, re2...@googlegroups.com
Attention needed from Alan Donovan

Russ Cox has uploaded the change for review

Russ Cox would like Alan Donovan to review this change.

Commit message

CMakeLists.txt: fix dependencies for shared library build

There are a small number of references to the GoogleTest
package (for example TempDir) from re2/testing/*.cc, so
the testing library itself must depend on GoogleTest.
I removed this dependency incorrectly. Only the shared-library
build hits this problem.
Change-Id: Id48d106449f8023fd40330bfef179ab1dd1d4f45

Change information

Files:
  • M CMakeLists.txt
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Alan Donovan
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: re2
Gerrit-Branch: main
Gerrit-Change-Id: Id48d106449f8023fd40330bfef179ab1dd1d4f45
Gerrit-Change-Number: 63791
Gerrit-PatchSet: 1
Gerrit-Owner: Russ Cox <r...@swtch.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Attention: Alan Donovan <adon...@google.com>
unsatisfied_requirement
open
diffy

Alan Donovan (Gerrit)

unread,
Jul 30, 2025, 3:29:36 PMJul 30
to Russ Cox, re2...@googlegroups.com
Attention needed from Russ Cox

Alan Donovan voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Russ Cox
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: re2
Gerrit-Branch: main
Gerrit-Change-Id: Id48d106449f8023fd40330bfef179ab1dd1d4f45
Gerrit-Change-Number: 63791
Gerrit-PatchSet: 1
Gerrit-Owner: Russ Cox <r...@swtch.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Attention: Russ Cox <r...@swtch.com>
Gerrit-Comment-Date: Wed, 30 Jul 2025 19:29:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Russ Cox (Gerrit)

unread,
Jul 30, 2025, 8:46:27 PMJul 30
to Alan Donovan, re2...@googlegroups.com

Russ Cox submitted the change

Change information

Commit message:
CMakeLists.txt: fix dependencies for shared library build

There are a small number of references to the GoogleTest
package (for example TempDir) from re2/testing/*.cc, so
the testing library itself must depend on GoogleTest.
I removed this dependency incorrectly. Only the shared-library
build hits this problem.
Change-Id: Id48d106449f8023fd40330bfef179ab1dd1d4f45
Files:
  • M CMakeLists.txt
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Alan Donovan
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: re2
Gerrit-Branch: main
Gerrit-Change-Id: Id48d106449f8023fd40330bfef179ab1dd1d4f45
Gerrit-Change-Number: 63791
Gerrit-PatchSet: 2
Gerrit-Owner: Russ Cox <r...@swtch.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Russ Cox <r...@swtch.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages