summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-06 14:25:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-06 14:25:43 (GMT)
commit9d8bb7bc4e09131055a1ff542f655a4168cda9ca (patch)
tree32c74e613d43044073c5a8b2420db477603233a2 /Modules
parenta43c25a2e3aa2ad32af99850b55240ce088f0483 (diff)
parent77a01c398f20bf41921d73082f469acf6c9e0acf (diff)
downloadCMake-9d8bb7bc4e09131055a1ff542f655a4168cda9ca.zip
CMake-9d8bb7bc4e09131055a1ff542f655a4168cda9ca.tar.gz
CMake-9d8bb7bc4e09131055a1ff542f655a4168cda9ca.tar.bz2
Merge topic 'FindBoost-meta-component-ALL'
77a01c398f FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3996
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBoost.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake
index 744d2c7..ef962bc 100644
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -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()