Skip to content

FindBoost: Tolerate future Boost INTERFACE libraries

Brad King requested to merge brad.king/cmake:FindBoost-1.71 into master

Since !3438 (merged) we query imported targets provided by BoostConfig.cmake for their IMPORTED_LOCATION_<cfg>. Querying this property is not allowed on INTERFACE libraries, so add a condition to avoid doing so in case Boost adds one in the future.

Suggested-by: @Flamefire
Issue: #19656 (closed), #19402

Edited by Brad King

Merge request reports