boost: Conditionally include/exclude Boost.Json depending on Boost version (#46200)
This commit is contained in:
parent
ee96194486
commit
9604c0a9b3
@ -690,6 +690,9 @@ def install(self, spec, prefix):
|
||||
remove_if_in_list = lambda lib, libs: libs.remove(lib) if lib in libs else None
|
||||
|
||||
# Remove libraries that the release version does not support
|
||||
if not spec.satisfies("@1.75.0:"):
|
||||
remove_if_in_list("json", with_libs)
|
||||
remove_if_in_list("json", without_libs)
|
||||
if spec.satisfies("@1.69.0:"):
|
||||
remove_if_in_list("signals", with_libs)
|
||||
remove_if_in_list("signals", without_libs)
|
||||
|
Loading…
Reference in New Issue
Block a user