fix missing header issue in fairmq/logger

This commit is contained in:
winckler
2015-09-24 11:01:49 +02:00
committed by Mohammad Al-Turany
parent 5212dd4ce1
commit 96cd2afac7
4 changed files with 172 additions and 3 deletions

View File

@@ -36,7 +36,14 @@ set(DEPENDENCIES
pthread
)
install(FILES logger.h logger_def.h fairroot_null_deleter.h DESTINATION include/logger)
if(NOT ("${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}" VERSION_LESS "1.56") )
install(FILES logger.h logger_def.h DESTINATION include/logger)
else()
install(FILES logger_oldboost_version.h logger_def.h fairroot_null_deleter.h DESTINATION include/logger)
endif()
GENERATE_LIBRARY()