aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/sha1
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/sha1
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/sha1')
-rw-r--r--src/supplemental/sha1/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/supplemental/sha1/CMakeLists.txt b/src/supplemental/sha1/CMakeLists.txt
index 8496777b..9600a268 100644
--- a/src/supplemental/sha1/CMakeLists.txt
+++ b/src/supplemental/sha1/CMakeLists.txt
@@ -8,5 +8,9 @@
# found online at https://opensource.org/licenses/MIT.
#
-set(SHA1_SOURCES supplemental/sha1/sha1.c supplemental/sha1/sha1.h)
+if (NNG_SUPP_SHA1)
+ set(SHA1_SOURCES
+ supplemental/sha1/sha1.c
+ supplemental/sha1/sha1.h)
+endif()
set(NNG_SOURCES ${NNG_SOURCES} ${SHA1_SOURCES} PARENT_SCOPE)