aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http
diff options
context:
space:
mode:
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)