Skip to content

Configuring CMake fails #1371

Open
Open
@stephenberry

Description

@stephenberry

Configuring CMake with stdexec as a dependency works the first time entirely from scratch (on Mac/Windows). However, subsequent calls to CMake will produce the following error:

CMake Error at build/_deps/stdexec-src/test/CMakeLists.txt:140 (include):
  include could not find requested file:

    /contrib/Catch.cmake


CMake Error at build/_deps/stdexec-src/test/CMakeLists.txt:142 (catch_discover_tests):
  Unknown CMake command "catch_discover_tests".

Deleting the cache seems to work, except on Linux which seems to have this problem more persistently.

We're configuring with STD_BUILD_TESTS turned off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions