FindBoost Robustness Improvements, main branch (2025.01.10.)
As it turns out, !1188 (merged) plus athena!77064 (merged) was a bad combination.
Now I taught FindBoost.cmake how to select imported target names in a smarter way. Allowing one to use ALL as a component name. Plus I also prevented lcg_wrap_find_module(...) from failing on invalid target names. Instead printing the following:
-- Could NOT find boost_Foo (missing: boost_Foo_DIR)
CMake Warning at /data/hdd-4tb/projects/externals/atlasexternals/Build/AtlasLCG/modules/LCGFunctions.cmake:1260 (message):
Received target "Boost::Foo" does not exist
Call Stack (most recent call first):
/data/hdd-4tb/projects/externals/atlasexternals/Build/AtlasLCG/modules/FindBoost.cmake:19 (lcg_wrap_find_module)
/data/hdd-4tb/projects/externals/atlasexternals/External/Gaudi/CMakeLists.txt:34 (find_package)
CMake Warning at /data/hdd-4tb/projects/externals/atlasexternals/Build/AtlasLCG/modules/LCGFunctions.cmake:1303 (message):
Received target "Boost::Foo" does not exist
Call Stack (most recent call first):
/data/hdd-4tb/projects/externals/atlasexternals/Build/AtlasLCG/modules/FindBoost.cmake:19 (lcg_wrap_find_module)
/data/hdd-4tb/projects/externals/atlasexternals/External/Gaudi/CMakeLists.txt:34 (find_package)
Which our CI should find, but would prevent issues like we have with the latest Athena nightly (see ATLINFR-5571).