mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 13:32:49 +00:00
FindBoost: Prevent warning due to new meta-component "ALL" of Boost 1.73
This commit is contained in:
parent
c1d5d5eb11
commit
77a01c398f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user