libp2p / cpp-libp2p

C++17 implementation of libp2p
Apache License 2.0
346 stars 97 forks source link

fix cmake 3.29 policy warnings #237

Closed dhuseby closed 3 months ago

dhuseby commented 3 months ago

This adds two new policies:

cmake_policy(SET CMP0144 NEW)
cmake_policy(SET CMP0153 OLD)

This quiets a few warnings generated when using cmake 3.29.

dhuseby commented 3 months ago

Hrm...looks like cmake doesn't handle unknown policies gracefully. I'll switch to the 3.25 version we're running on CI here. I see no compelling reason to upgrade cmake ATM.