diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-12-28 20:52:15 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-12-28 20:52:15 -0800 |
| commit | 63e0baf37c8024174aa4bacb12dccc7040de74d8 (patch) | |
| tree | dadbaa4a7f7d026af16674e85b67d6aff3613746 /src/supplemental/http | |
| parent | cbc21ab0a2e11c8be23dfa146adf7bb091c97f71 (diff) | |
| download | nng-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.txt | 2 |
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) |
