Skip to content

Commit 59aab4f

Browse files
ktfteo
authored andcommitted
Compile with FairMQ 1.5.x
1 parent 4bf3160 commit 59aab4f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

occ/util/Logger.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
#ifndef OCCPLUGIN_LOGGER_H
2626
#define OCCPLUGIN_LOGGER_H
2727

28+
#if __has_include(<fairlogger/Logger.h>)
29+
#include <fairlogger/Logger.h>
30+
#else
2831
#include <fairmq/FairMQLogger.h>
32+
#endif
2933

3034
#define OLOG(X) LOG(X) << "[OCC] "
3135

0 commit comments

Comments
 (0)