fix(option.cmake): find boost quiet

This commit is contained in:
John Zhao 2019-01-16 20:03:52 +08:00
parent a80a72e78f
commit bfce242334

View File

@ -44,7 +44,7 @@ else()
endif()
if(WITH_BOOST)
find_package(Boost COMPONENTS filesystem)
find_package(Boost QUIET COMPONENTS filesystem)
if(Boost_FOUND)
set(Boost_VERSION_STRING "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}")
set(WITH_FILESYSTEM TRUE)