Does not compile with Ninja

Bug #1293599 reported by Jussi Pakkanen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dbus-cpp (Ubuntu)
New
Undecided
Unassigned

Bug Description

The way dbus-cpp sets up gtest and gmock is broken and does not work with Ninja. To replicate:

bzr branch lp:dbus-cpp
cd dbus-cpp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debug -G Ninja ..
ninja

This prints the following error:

ninja: error: 'gmock/libs/gtest/libgtest.a', needed by 'tests/bus_test', missing and no known rule to make it

This happens with both Gcc 4.8 and 4.7.

description: updated
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.