Skip to content

Commit 54612ba

Browse files
authored
Fix Kafka compilation (#162)
1 parent 5b35618 commit 54612ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ target_compile_definitions(Monitoring
139139
$<$<BOOL:${APPLE}>:O2_MONITORING_OS_MAC>
140140
$<$<BOOL:${LINUX}>:O2_MONITORING_OS_LINUX>
141141
$<$<BOOL:${ApMon_FOUND}>:O2_MONITORING_WITH_APPMON>
142-
$<$<BOOL:${RdKafka_FOUND}>:O2_MONITORING_WITH__WITH_KAFKA>
142+
$<$<BOOL:${RdKafka_FOUND}>:O2_MONITORING_WITH_KAFKA>
143143
)
144144

145145
# Use C++17

src/MonitoringFactory.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "Backends/ApMonBackend.h"
3131
#endif
3232

33-
#ifdef O2_MONITORING__WITH_KAFKA
33+
#ifdef O2_MONITORING_WITH_KAFKA
3434
#include "Backends/Kafka.h"
3535
#endif
3636

@@ -39,7 +39,7 @@ namespace o2
3939
/// ALICE O2 Monitoring system
4040
namespace monitoring
4141
{
42-
#ifdef _WITH_KAFKA
42+
#ifdef O2_MONITORING_WITH_KAFKA
4343
std::unique_ptr<Backend> getKafka(http::url uri)
4444
{
4545
if (uri.search.size() > 0) {

0 commit comments

Comments
 (0)