[PATCH] Update cmakelists to use system googletest if available.
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Sat, 14 Oct 2023 07:23:02 +0000 (09:23 +0200)
committerSimon Quigley <tsimonq2@debian.org>
Tue, 18 Feb 2025 21:10:35 +0000 (15:10 -0600)
commitadb91d2ccd1b6d9fb78d5a39c7525d4576e9fef3
tree2dc3b33272cc80bf3254e83ea85a72f871371701
parente423e7f3d72a1a0a23177053945e0266302aa0f1
[PATCH] Update cmakelists to use system googletest if available.

There is no need to use the embedded gtest code copy in Linux systems, if they already provide the googletest framework system-wide.
Search for it, and fallback to the embedded one if the system one is not detected.

This patch has been also contributed by Simon Quigley <tsimonq2@debian.org>

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