fix(option.cmake): find boost quiet
This commit is contained in:
parent
a80a72e78f
commit
bfce242334
|
@ -44,7 +44,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_BOOST)
|
if(WITH_BOOST)
|
||||||
find_package(Boost COMPONENTS filesystem)
|
find_package(Boost QUIET COMPONENTS filesystem)
|
||||||
if(Boost_FOUND)
|
if(Boost_FOUND)
|
||||||
set(Boost_VERSION_STRING "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}")
|
set(Boost_VERSION_STRING "${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_SUBMINOR_VERSION}")
|
||||||
set(WITH_FILESYSTEM TRUE)
|
set(WITH_FILESYSTEM TRUE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user