Boost logo

Boost :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2021-10-09 15:59:54


On 08/10/2021 16:10, Peter Dimov via Boost wrote:
> Andrey Semashev wrote:
>> Or you could conditionally enable ICU support based on CMake config option.
>> We do something like this in Boost.Filesystem:
>>
>> https://github.com/boostorg/filesystem/blob/ec93082b6b54cd734b236638e7c4ba76e3b639e7/CMakeLists.txt#L15-L21
> The closest example is
>
> https://github.com/boostorg/locale/blob/33d06c0c4be7f9bcfb05e200c72f752e9777261c/CMakeLists.txt#L83-L100
>
Thanks for the examples everyone, much appreciated.

I confess I'm having a hard time seeing how a configuration option is
better than the user simply adding the dependency to their executable
CMake file?

Thanks, John.

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk