Use OPTIONAL_COMPONENTS, for Boost

This commit is contained in:
Laurent Rineau 2019-05-13 17:21:58 +02:00
parent 72b56e4156
commit 84ea2f0e96
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ EOF
# Boost and its components
EOF
echo "find_package( Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS//:/ } )"
echo "find_package( Boost REQUIRED OPTIONAL_COMPONENTS ${BOOST_COMPONENTS//:/ } )"
fi # additional Boost components
#---------------------------------------------------------------------------