I am using CLion on OS X 10.10.5 (Yosemite) and trying to use the logging boost (1.58.0) library.
I installed boost using brew install boost. I checked
brew install boost
You have to set #define BOOST_LOG_DYN_LINK 1, this can be done with cmake using add_definitions(-DBOOST_LOG_DYN_LINK=1).
#define BOOST_LOG_DYN_LINK 1
add_definitions(-DBOOST_LOG_DYN_LINK=1)