Configuring CMake fails
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 270
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 39
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100