Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Configuring CMake fails

Open
#1,371 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, cpp

Research direction

Reproduce the first and subsequent CMake configurations with STD_BUILD_TESTS disabled, including the Linux case. Inspect build/_deps/stdexec-src/test/CMakeLists.txt around lines 140-142 and determine why the later configure cannot find /contrib/Catch.cmake or catch_discover_tests; done means repeated configuration succeeds without these errors.

Written by the indexing model from the issue text.

Description

bug

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.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
2d 16h
Merged PRs (30d)
43

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/stdexec

All issues in NVIDIA/stdexec

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.