Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FetchContent emits error related to sentry-native #26

Open
rpatters1 opened this issue Dec 2, 2024 · 1 comment
Open

FetchContent emits error related to sentry-native #26

rpatters1 opened this issue Dec 2, 2024 · 1 comment

Comments

@rpatters1
Copy link

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!
@lcvisser
Copy link

lcvisser commented Dec 6, 2024

Put set(RAPIDXML_SENTRY OFF) just before the FetchContent_Declare() statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants