[PATCH] Don't install embedded copy of GTest
authorPhil Miller <phil.miller@intensecomputing.com>
Tue, 7 Feb 2023 20:42:40 +0000 (15:42 -0500)
committerGianfranco Costamagna <locutusofborg@debian.org>
Fri, 3 Oct 2025 15:35:05 +0000 (17:35 +0200)
commit5d8b0f31f53ec0a825e61ee848e3eac1ccf62974
tree38a82887238c210b79bc9494ab5414266683fa5c
parentdb0c64fabd7e911d22267848330ee8d1bad2d22f
[PATCH] Don't install embedded copy of GTest

Goole Test itself documents the `INSTALL_GTEST` option as something that projects embedding it should set to `OFF`. Leaving it on means that projects downstream from libraries that embed it are likely to encounter conflicting copies. This is particularly annoying because GTest does not maintain anything like a stable API, and so causes builds to fail if include paths pick up an inappropriately installed copy ahead of the one that the code wanted.

Fixes #488

Gbp-Pq: Name 1171.patch
test/CMakeLists.txt