[PATCH 1/2] cmake: always set GTEST_LIBRARY if it isn't
authorVictor Berger <victor.berger@m4x.org>
Thu, 8 Jul 2021 17:25:23 +0000 (19:25 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 9 Jan 2022 23:11:32 +0000 (23:11 +0000)
commit800265c256b22a730a48c5c527f68bd44a5b4641
tree7f2bb91477eff358ea725dd4455d71c8bf61865d
parentdf116d81c55541ac9a021adc4d3ebf17820aa03f
[PATCH 1/2] cmake: always set GTEST_LIBRARY if it isn't

Previously, the GTEST_LIBRARY would only be set manually set when
GMock is not built from source, causing likage failures on systems
where Gmock is built from source and system-provided GTest does not
set it.

cc #205

Gbp-Pq: Name 0001-cmake-always-set-GTEST_LIBRARY-if-it-isn-t.patch
cmake/FindGtestGmock.cmake