aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-12-28 20:52:15 -0800
committerGarrett D'Amore <garrett@damore.org>2017-12-28 20:52:15 -0800
commit63e0baf37c8024174aa4bacb12dccc7040de74d8 (patch)
treedadbaa4a7f7d026af16674e85b67d6aff3613746 /src/supplemental/http
parentcbc21ab0a2e11c8be23dfa146adf7bb091c97f71 (diff)
downloadnng-63e0baf37c8024174aa4bacb12dccc7040de74d8.tar.gz
nng-63e0baf37c8024174aa4bacb12dccc7040de74d8.tar.bz2
nng-63e0baf37c8024174aa4bacb12dccc7040de74d8.zip
fixes #172 HTTP and websocket need better conditional inclusion
Diffstat (limited to 'src/supplemental/http')
-rw-r--r--src/supplemental/http/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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)