add an other fairmq logger implementation in case boost version < 1.56 for backward compability

This commit is contained in:
winckler
2015-09-21 12:07:47 +02:00
committed by Mohammad Al-Turany
parent 74f7c5873a
commit ca7a76110d
4 changed files with 274 additions and 3 deletions

View File

@@ -19,8 +19,11 @@ set(LINK_DIRECTORIES ${Boost_LIBRARY_DIRS})
link_directories(${LINK_DIRECTORIES})
set(SRCS logger.cxx)
if(NOT ("${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}" VERSION_LESS "1.56") )
set(SRCS logger.cxx)
else()
set(SRCS logger_oldboost_version.cxx)
endif()
set(LIBRARY_NAME fairmq_logger)
set(DEPENDENCIES