Unable to find GMock/GTest on distributions other than Ubuntu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Triaged
|
Low
|
Unassigned | ||
dbus-cpp |
New
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
CMake fails to find GMock/GTest on Fedora and Gentoo with
$ cmake -DCMAKE_
<snip>
CMake Error at cmake/FindGtest
google-mock package not found
Call Stack (most recent call first):
tests/
-- Configuring incomplete, errors occurred!
within the call to
find_path(
in cmake/FindGtest
Anyway, Google Test developers discourage the use of a pre-compiled library, see their FAQ [1]. This issue also affects
- https:/
- https:/
Possible solution: I have an alternative find-script at hand that also uses ExternalProject
I'm willing to contribute this find-script to your project if you wish but I need to check with my employer's Open Source contribution policies before I do that.
Changed in mir: | |
status: | New → Triaged |
tags: | added: portability |
Changed in mir: | |
importance: | Undecided → Low |
Syncing task from Mir.