do not include ghostrider header if ghostrider is disabled in cmake

This commit is contained in:
virophagesp 2024-12-18 21:24:46 +13:00 committed by GitHub
parent f9e990d0f0
commit df10ccbc8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,6 @@
#include "crypto/rx/RxCache.h"
#include "crypto/rx/RxDataset.h"
#include "crypto/rx/RxVm.h"
#include "crypto/ghostrider/ghostrider.h"
#include "net/JobResults.h"
@ -45,6 +44,11 @@
#endif
#ifdef XMRIG_ALGO_GHOSTRIDER
#include "crypto/ghostrider/ghostrider.h"
#endif
#ifdef XMRIG_FEATURE_BENCHMARK
# include "backend/common/benchmark/BenchState.h"
#endif