boost: require +icu when +locale (#47396)

This commit is contained in:
Harmen Stoppels 2024-11-04 16:12:16 +01:00 committed by GitHub
parent e952f6be8e
commit d44bdc40c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,6 +246,7 @@ def libs(self):
depends_on("icu4c cxxstd=14", when="+icu cxxstd=14")
depends_on("icu4c cxxstd=17", when="+icu cxxstd=17")
conflicts("cxxstd=98", when="+icu") # Requires c++11 at least
conflicts("+locale ~icu") # Boost.Locale "strongly recommends" icu, so enforce it
depends_on("python", when="+python")
# https://github.com/boostorg/python/commit/cbd2d9f033c61d29d0a1df14951f4ec91e7d05cd