diff options
author | Brad King <brad.king@kitware.com> | 2019-11-07 14:31:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-07 14:31:59 (GMT) |
commit | 61ce9d17697db65d179b348845e07f7649818d65 (patch) | |
tree | 49fb2718da99ddb3b11f4b5eaf7ca4b410596a0d /Modules | |
parent | 4011b1be41e97de3f1c1cee741f0627838913974 (diff) | |
parent | 0faeb6a4282f476eb5873b7a1e6d60760a06c3bd (diff) | |
download | CMake-61ce9d17697db65d179b348845e07f7649818d65.zip CMake-61ce9d17697db65d179b348845e07f7649818d65.tar.gz CMake-61ce9d17697db65d179b348845e07f7649818d65.tar.bz2 |
Merge branch 'backport-FindBoost-meta-component-ALL' into release-3.15
Merge-request: !4008
Diffstat (limited to 'Modules')
-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() |