From a8d40d15fd9c52fd69a330fb0a5b1b55eeb45102 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Wed, 12 Apr 2017 21:15:36 +0200 Subject: refactor CMake - allow compiling without microhttpd - allow compiling without OpenSSL - install `config.txt` with command `make install` --- httpd.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'httpd.cpp') diff --git a/httpd.cpp b/httpd.cpp index 7e82aa3..7c94f76 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -21,6 +21,8 @@ * */ +#ifndef CONF_NO_HTTPD + #include #include #include @@ -142,3 +144,5 @@ bool httpd::start_daemon() return true; } +#endif + -- cgit v1.1