Make possible to build from system's gtest.

The current requires the CMake project to be included
in another project that provides the gtest targets.

This change makes possible to locate the dependency
with pkg-config that searches the sysroot.

Bug: b/276425028
Change-Id: I1d09962b82b4bb6dbaea51de3218051a947f2581
1 file changed