What cmake warnings you've met? 

`cmake_minimum_required(VERSION 3.15...4.1.0)` is probably not you want to do, 
if you want to fix the warnings and still support 3.15.

If I understand correctly, in this case (see 
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#policy-version)
 policy version is set to 4.1.0, which means in 4.1.0 all policies introduced 
before will have `NEW` behaviour, but in 3.15 all policies will basically have 
`OLD` behaviour and users will get two types of cmake behaviour, without any 
warnings, so things may go out of control.

For consistency it's better just to set policies with warnings to `OLD`, until 
min version in `cmake_minimum_required` will be able to support it. Or if you 
really need `NEW` behaviour, then you can set it for this particular policy.
_______________________________________________
Boost-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost-users.lists.boost.org/
Archived at: 
https://lists.boost.org/archives/list/[email protected]/message/VIN7WY2LXGUWUQUVQBWKEJBC6HPDMEDX/
 

Reply via email to