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

Steve Sakoman

On Fri, Dec 3, 2021 at 1:47 AM Eero Aaltonen <eero.aaltonen@...> wrote:

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
See the patch set I sent out for review earlier today.


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.