Initial build with ninja generator fails with missing library

Bug #1487818 reported by Steven Bosnick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenAcct
New
Undecided
Unassigned

Bug Description

The initial build of the project after using the Ninja CMake generator will fail with an error like:

        ninja: error: 'gtest/src/gtest-external-build/libgtest.a', needed by
        'src/acctcli/test/CommandLineTests', missing and no known rule to
         make it

This appears to be the effect of the CMake bug id 0014963 which was fixed in CMake version 3.2. We may be able to fix this bug for those using CMake version 3.2 and above by using the BUILD_BYPRODUCTS option of ExternalProject_Add().

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.