$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Horváth V. (friendlyanon__at_[hidden])
Date: 2021-10-08 14:25:47
The most correct solution would be providing a separate regex-icu
package altogether, that depends on both regex and ICU, but I don't
think Boost rolls that way.
Optional dependencies are really nasty.
I guess what one could do is have a package component and request ICU
support explicitly:
# The user requests regex with ICU, so it's safe to
# find_dependency(ICU i18n) in the package config for ICU
# internationalization and link it with the
# regex/headers target
find_package(Boost REQUIRED regexWithICU)