Modernize Boost module finding in CMake
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 14:50:28 +0000 (15:50 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sat, 27 Dec 2025 14:52:19 +0000 (15:52 +0100)
commite075b72d501cd0537a9f62ee4de4461a0bb0ac34
tree3c979d530f9ce3178c6dac72098b95acb8aa2e05
parent60dcabebd386238202192e37a901b3abed647a41
Modernize Boost module finding in CMake

- Remove deprecated Boost_USE_* variables
- Remove duplicate find_package calls from test CMakeLists files
- Add missing iostreams component to find_package
- Use conditional CMP0167 policy for CMake 3.30+ compatibility
  while maintaining backward compatibility with CMake 3.28+

This eliminates the FindBoost deprecation warning on CMake 3.30+.
CMakeLists.txt
src/CMakeLists.txt
test/CMakeLists.test_dns.txt
test/CMakeLists.test_icmppacket.txt
test/CMakeLists.txt