Skip to content

Commit

Permalink
azure-storage-cpp: use version range for libxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 17, 2024
1 parent 9bb8bb6 commit e9b8004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/azure-storage-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ def requirements(self):
self.requires("cpprestsdk/2.10.19", transitive_headers=True, transitive_libs=True)
# LibXML2 v2.12+ from CCI is not compatible. Needs to be built with -DLIBXML_OUTPUT_ENABLED:
# https://github.com/GNOME/libxml2/commit/5d2dbe79fae5618d0bd2a7e52be9cf98b11d98ad
self.requires("libxml2/2.11.5", transitive_headers=True, transitive_libs=True)
self.requires("libxml2/[>=2.12.5 <3]", transitive_headers=True, transitive_libs=True)
if self.settings.os != "Windows":
# Boost.Asio is used in a public header here:
# https://github.com/Azure/azure-storage-cpp/blob/v7.5.0/Microsoft.WindowsAzure.Storage/includes/wascore/timer_handler.h#L27
self.requires("boost/1.83.0", transitive_headers=True, transitive_libs=True)
self.requires("util-linux-libuuid/2.39.2", transitive_headers=True, transitive_libs=True)
self.requires("openssl/[>=1.1 <4]")
if is_apple_os(self):
self.requires("libgettext/0.21")
self.requires("libgettext/0.22")

def validate(self):
if self.settings.compiler.cppstd:
Expand Down

0 comments on commit e9b8004

Please sign in to comment.