Skip to content

googlemock error on build: No rule to make target #2

Description

@wtjones

Running the following:

mkdir build
cd build
cmake ..
make

Results in this error:

 11%] Built target libfoo
[ 23%] Built target libbar
[ 35%] Built target myApp
[ 82%] Built target gtest
make[2]: *** No rule to make target 'test/gtest/src/gtest-build/googlemock/gtest/libgtest.a', needed by 'test/testfoo/testfoo'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:233: test/testfoo/CMakeFiles/testfoo.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions