set(Boost_USE_STATIC_LIBS TRUE)

To use Boost automatic linking on msvc/Borland.