FindBoost: Mark Boost_DIR cache entry as advanced

This commit is contained in:
Brad King 2012-09-24 11:10:14 -04:00
parent 531612d370
commit d3260a46be

View File

@ -282,6 +282,7 @@ if (NOT Boost_NO_BOOST_CMAKE)
# Note that args are passed in the Boost_FIND_xxxxx variables, so there is no # Note that args are passed in the Boost_FIND_xxxxx variables, so there is no
# need to delegate them to this find_package call. # need to delegate them to this find_package call.
find_package(Boost QUIET NO_MODULE) find_package(Boost QUIET NO_MODULE)
mark_as_advanced(Boost_DIR)
# If we found boost-cmake, then we're done. Print out what we found. # If we found boost-cmake, then we're done. Print out what we found.
# Otherwise let the rest of the module try to find it. # Otherwise let the rest of the module try to find it.