can build without microhttpd when WITH_HTTPD=OFF
This commit is contained in:
parent
49b45ddd18
commit
f93187b024
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ if (WITH_HTTPD)
|
|||
message(FATAL_ERROR "microhttpd NOT found: use `-DWITH_HTTPD=OFF` to build without http deamon support")
|
||||
endif()
|
||||
else()
|
||||
set(MHD_LIBRARY "")
|
||||
add_definitions(/DXMRIG_NO_HTTPD)
|
||||
add_definitions(/DXMRIG_NO_API)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue