Mir

FindGtestgmock.cmake not compatible with Fedora

Bug #1701282 reported by Gerry Boland
6
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.cmake is designed to use this.

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.

Gerry Boland (gerboland)
Changed in mir:
importance: Undecided → Medium
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.