Commit 9d8bb7bc authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'FindBoost-meta-component-ALL'

77a01c39

 FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3996
parents a43c25a2 77a01c39
......@@ -449,6 +449,9 @@ if (NOT Boost_NO_BOOST_CMAKE)
# Convert component found variables to standard variables if required
# Necessary for legacy boost-cmake and 1.70 builtin BoostConfig
if(Boost_FIND_COMPONENTS)
# Ignore the meta-component "ALL", introduced by Boost 1.73
list(REMOVE_ITEM Boost_FIND_COMPONENTS "ALL")
foreach(_comp IN LISTS Boost_FIND_COMPONENTS)
if(DEFINED Boost_${_comp}_FOUND)
continue()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment