Skip to content

Commit

Permalink
enable Conan 1 build too
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded committed Jul 29, 2024
1 parent d912f91 commit bfdcdb7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions recipes/libphonenumber/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bfdcdb7

Please sign in to comment.