find_package(Boost REQUIRED COMPONENTS log log_setup) add_library(Universal BoostLog.h BoostLog.inl BoostLog.cpp StreamFormat.h StreamFormat.inl StreamFormat.cpp ) target_link_libraries(Universal PRIVATE ${Boost_LIBRARIES} )