diff --git a/recipes/sqlite3/all/conanfile.py b/recipes/sqlite3/all/conanfile.py index f6d6fd20e0c0b..c068ed85fc459 100644 --- a/recipes/sqlite3/all/conanfile.py +++ b/recipes/sqlite3/all/conanfile.py @@ -95,11 +95,7 @@ def validate(self): raise ConanInvalidConfiguration("build_executable=True cannot be combined with enable_default_vfs=False") def source(self): - tools.get(**self.conan_data["sources"][self.version]) - url = self.conan_data["sources"][self.version]["url"] - archive_name = os.path.basename(url) - archive_name = os.path.splitext(archive_name)[0] - os.rename(archive_name, self._source_subfolder) + tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) def _configure_cmake(self): if self._cmake: