mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 03:59:41 +00:00
#502 Fixed build without libmicrohttpd.
This commit is contained in:
parent
3a67ee6d11
commit
ae647699a4
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,6 @@ include (cmake/cpu.cmake)
|
|||
|
||||
|
||||
set(HEADERS
|
||||
src/api/Api.h
|
||||
src/api/NetworkState.h
|
||||
src/App.h
|
||||
src/Console.h
|
||||
|
@ -87,7 +86,6 @@ else()
|
|||
endif()
|
||||
|
||||
set(SOURCES
|
||||
src/api/Api.cpp
|
||||
src/api/NetworkState.cpp
|
||||
src/App.cpp
|
||||
src/Console.cpp
|
||||
|
@ -214,11 +212,13 @@ if (WITH_HTTPD)
|
|||
if (MHD_FOUND)
|
||||
include_directories(${MHD_INCLUDE_DIRS})
|
||||
set(HTTPD_SOURCES
|
||||
src/api/Api.h
|
||||
src/api/ApiRouter.h
|
||||
src/api/HttpBody.h
|
||||
src/api/Httpd.h
|
||||
src/api/HttpReply.h
|
||||
src/api/HttpRequest.h
|
||||
src/api/Api.cpp
|
||||
src/api/ApiRouter.cpp
|
||||
src/api/Httpd.cpp
|
||||
src/api/HttpRequest.cpp
|
||||
|
|
Loading…
Reference in a new issue