Skip to content

Enabling LEST_BUILD_CONTRIB does not work as expected #78

@musicinmybrain

Description

@musicinmybrain
$ git clone https://github.com/martinmoene/lest.git
$ cd lest
$ cmake -S. -Bbuild -DLEST_BUILD_CONTRIB:BOOL=ON -DLEST_BUILD_EXAMPLE:BOOL=OFF
$ cmake --build build --verbose -j16
[…]
/home/ben/src/forks/lest/contrib/lest_expect_abort/test/lest_expect_abort.t.cpp:7:11: fatal error: lest/lest_expect_abort.hpp: No such file or directory
    7 | # include "lest/lest_expect_abort.hpp"
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I’m not sure exactly where the best place to add the appropriate include path is, but it does seem like this should “just work.”

I don’t have a concrete need for the contrib libraries, so this isn’t a high-priority issue for me personally, but I thought it was worth reporting.

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