diff --git a/src/core/config/ConfigTransform.cpp b/src/core/config/ConfigTransform.cpp index edbee6ed7..a5ada6a04 100644 --- a/src/core/config/ConfigTransform.cpp +++ b/src/core/config/ConfigTransform.cpp @@ -103,7 +103,9 @@ void xmrig::ConfigTransform::finalize(rapidjson::Document &doc) profile.AddMember(StringRef(kThreads), m_threads, allocator); profile.AddMember(StringRef(kAffinity), m_affinity, allocator); +# ifdef XMRIG_ALGO_KAWPOW doc[CpuConfig::kField].AddMember(StringRef(Algorithm::kKAWPOW), false, doc.GetAllocator()); +# endif doc[CpuConfig::kField].AddMember(StringRef(kAsterisk), profile, doc.GetAllocator()); }