FetchContent emits error related to `sentry-native`
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 166
- Forks
- 96
- Avg merge
- 2h 5m
- Merged PRs (30d)
- 1
Description
When I add rapidxml to my CMakeLists file like this:
FetchContent_Declare(
rapidxml
URL https://github.com/dwd/rapidxml/archive/refs/heads/master.zip
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
FetchContent_MakeAvailable(rapidxml)
I get the following error when I try to configure CMake for my project:
[cmake] CMake Error at build/_deps/rapidxml-src/CMakeLists.txt:22 (add_subdirectory):
[cmake] add_subdirectory given source "sentry-native" which is not an existing
[cmake] directory.
[cmake]
[cmake]
[cmake] Not searching for unused variables given on the command line.
[cmake] Will skip performance tests
[cmake] -- Configuring incomplete, errors occurred!
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 configuration with the FetchContent block shown, then inspect build/_deps/rapidxml-src/CMakeLists.txt at line 22 and the repository's CMakeLists.txt. Confirm why configuration looks for sentry-native, and verify that configuring the project with rapidxml no longer reports that missing-directory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100