From 77a01c398f20bf41921d73082f469acf6c9e0acf Mon Sep 17 00:00:00 2001 From: Deniz Bahadir Date: Tue, 5 Nov 2019 17:27:24 +0100 Subject: FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73 --- Modules/FindBoost.cmake | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v0.12