Fixed build.

This commit is contained in:
XMRig 2021-08-31 00:02:55 +07:00
parent e3b5bfeb36
commit cb2ec2316a
No known key found for this signature in database
GPG key ID: 446A53638BE94409
4 changed files with 3 additions and 5 deletions

View file

@ -20,7 +20,7 @@
#ifdef _MSC_VER
# include "getopt/getopt.h"
# include "3rdparty/getopt/getopt.h"
#else
# include <getopt.h>
#endif

View file

@ -21,7 +21,7 @@
#ifdef _MSC_VER
# include "getopt/getopt.h"
# include "3rdparty/getopt/getopt.h"
#else
# include <getopt.h>
#endif

View file

@ -25,7 +25,7 @@
#define XMRIG_USAGE_H
#include "version.h"
#include "../version.h"
#include <string>

View file

@ -1,6 +1,4 @@
if (WITH_HTTP)
add_definitions(-DXMRIG_FEATURE_DMI)
list(APPEND HEADERS src/hw/api/HwApi.h)
list(APPEND SOURCES src/hw/api/HwApi.cpp)
endif()