fix build option issues; refine cmake

This commit is contained in:
Chunting Gu
2021-02-05 14:12:26 +08:00
parent 1c35b97654
commit 7f345b7a4e
26 changed files with 70 additions and 65 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#include "webcc/config.h"
#include "webcc/request.h"
#ifdef WEBCC_ENABLE_SSL
#if WEBCC_ENABLE_SSL
#include "boost/asio/ssl.hpp"
#endif // WEBCC_ENABLE_SSL
@@ -62,7 +62,7 @@ private:
// -----------------------------------------------------------------------------
#ifdef WEBCC_ENABLE_SSL
#if WEBCC_ENABLE_SSL
class SslSocket : public SocketBase {
public: