From 63e0baf37c8024174aa4bacb12dccc7040de74d8 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 28 Dec 2017 20:52:15 -0800 Subject: fixes #172 HTTP and websocket need better conditional inclusion --- src/supplemental/http/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/supplemental/http') diff --git a/src/supplemental/http/CMakeLists.txt b/src/supplemental/http/CMakeLists.txt index dff06d70..2c8d6a68 100644 --- a/src/supplemental/http/CMakeLists.txt +++ b/src/supplemental/http/CMakeLists.txt @@ -8,10 +8,12 @@ # found online at https://opensource.org/licenses/MIT. # +if (NNG_SUPP_HTTP) set(HTTP_SOURCES supplemental/http/http.c supplemental/http/http_msg.c supplemental/http/server.c supplemental/http/client.c supplemental/http/http.h) +endif() set(NNG_SOURCES ${NNG_SOURCES} ${HTTP_SOURCES} PARENT_SCOPE) -- cgit v1.2.3-70-g09d2