Skip to content

Fails to build with cpputest 3.8 #2

@MitchellThompkins

Description

@MitchellThompkins

When building with cpputest 3.8 the output is:

[ 20%] Built target LedDriver
[ 40%] Built target Tutorial
[ 60%] Built target RuntimeErrorStub
[ 80%] Built target LedDriverTest
make[2]: *** No rule to make target `/Users/timothythompkins/_git/cpputest/src/CppUTest/libCppUTest.a', needed by `bin/RunAllTests'.  Stop.
make[1]: *** [tests/CMakeFiles/RunAllTests.dir/all] Error 2
make: *** [all] Error 2

This is due to this line:

IMPORTED_LOCATION $ENV{CPPUTEST_HOME}/src/CppUTest/libCppUTest.a)

Pointing to the correct lib location below fixes this issue.

 IMPORTED_LOCATION $ENV{CPPUTEST_HOME}/lib/libCppUTest.a)

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