mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
do not include ghostrider header if ghostrider is disabled in cmake
This commit is contained in:
@@ -36,7 +36,6 @@
|
|||||||
#include "crypto/rx/RxCache.h"
|
#include "crypto/rx/RxCache.h"
|
||||||
#include "crypto/rx/RxDataset.h"
|
#include "crypto/rx/RxDataset.h"
|
||||||
#include "crypto/rx/RxVm.h"
|
#include "crypto/rx/RxVm.h"
|
||||||
#include "crypto/ghostrider/ghostrider.h"
|
|
||||||
#include "net/JobResults.h"
|
#include "net/JobResults.h"
|
||||||
|
|
||||||
|
|
||||||
@@ -45,6 +44,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef XMRIG_ALGO_GHOSTRIDER
|
||||||
|
#include "crypto/ghostrider/ghostrider.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef XMRIG_FEATURE_BENCHMARK
|
#ifdef XMRIG_FEATURE_BENCHMARK
|
||||||
# include "backend/common/benchmark/BenchState.h"
|
# include "backend/common/benchmark/BenchState.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user