diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2019-11-05 16:27:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-07 14:29:54 (GMT) |
commit | 0faeb6a4282f476eb5873b7a1e6d60760a06c3bd (patch) | |
tree | dd5d78e4adcb435d4e7301ab5128325689ab4223 | |
parent | 2a5e5b25ba4d6eb68dbee29381774562c98e228f (diff) | |
download | CMake-0faeb6a4282f476eb5873b7a1e6d60760a06c3bd.zip CMake-0faeb6a4282f476eb5873b7a1e6d60760a06c3bd.tar.gz CMake-0faeb6a4282f476eb5873b7a1e6d60760a06c3bd.tar.bz2 |
FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73
-rw-r--r-- | Modules/FindBoost.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 078000f..af4947c 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() |