From dd2b4605e08ea138c629252bf30901fac3b5db48 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 25 Mar 2024 15:43:21 +0200 Subject: [PATCH] Fix conanfile. --- conanfile.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conanfile.py b/conanfile.py index 42a42e39f..68b5f8fe1 100644 --- a/conanfile.py +++ b/conanfile.py @@ -24,9 +24,7 @@ class Recipe(ConanFile): def requirements(self): if not self.options.with_xerces: - if "xerces-c" in self.requires: - del self.requires["xerces-c"] + del self.requires["xerces-c"] if not self.options.with_crash_reporting: - if "sentry-crashpad/0.6.5" in self.requires: - del self.requires["sentry-crashpad/0.6.5"] + del self.requires["sentry-crashpad"]