FindGtestgmock.cmake not compatible with Fedora
Bug #1701282 reported by
Gerry Boland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Trying to build Mir on Fedora, it fails to locate gmock & gtest.
On Ubuntu, gtest & gmock are supplied as raw source code with CMakeLists.txt file, which we include as a build directory. FindGtestgmock.
Fedora has a different approach, gtest is pre-built as a library to be linked against, whereas gmock is supplied with raw source code but without any CMakeLists.txt file.
Worth investigating if one big cmake script can be written to support both distributions, or perhaps we should do as google recommends and have a copy of googletest in the Mir source directory.
Changed in mir: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Syncing task from Mir.