Re: [dunfell][PATCH] cmake: FindGTest: Add target for gmock library

Eero Aaltonen

On Tue, 2021-11-30 at 15:23 +0200, Eero Aaltonen via wrote:

Update `Modules/FindGTest.cmake` to provide the same targets as the
CMake Config-file Package and backwards compatible targets and result

The googletest recipe at meta-oe dunfell branch is for version 1.10.
The fact that CMake Find Module masked the targets of the GTest package
resulted in a number of very confusing build failures.

This patch is mostly about backporting the fixed forwarding behaviour
from the Find Module to the Config-file Package that was released in
CMake v3.20.0.

Eero Aaltonen

Join { to automatically receive all group messages.