[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)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 23 Oct 2023 15:58:47 +0000 (17:58 +0200)
commit835c6e171e05b02b870a50a0e078f89b1f29b4fa
treeabd5c1641a2f8c4220773c944c180741abf81a64
parent9ce02646c5a5e0bc48c2538db3f4ca727eff5e16
[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