From bfdcdb71b58fa160eb7c3b17ab8d94da86238b82 Mon Sep 17 00:00:00 2001 From: memsharded Date: Mon, 29 Jul 2024 09:34:11 +0200 Subject: [PATCH] enable Conan 1 build too --- recipes/libphonenumber/all/conanfile.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipes/libphonenumber/all/conanfile.py b/recipes/libphonenumber/all/conanfile.py index 8ec6f73161ac5..e4f0648c73ff5 100644 --- a/recipes/libphonenumber/all/conanfile.py +++ b/recipes/libphonenumber/all/conanfile.py @@ -95,10 +95,6 @@ def validate(self): # Fails with 'undefined reference to `vtable for i18n::phonenumbers::ICURegExpFactory'' raise ConanInvalidConfiguration("use_icu_regexp=False is not supported") - if conan_version.major == 1: - # "Can't find Google Protocol Buffers: can't locate protobuf." - raise ConanInvalidConfiguration("Conan 1.x is not supported. Contributions are welcome!") - def build_requirements(self): if not self.conf.get("tools.gnu:pkg_config", check_type=str): self.tool_requires("pkgconf/2.1.0")