aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pair1/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-02-06 19:12:55 -0800
committerGarrett D'Amore <garrett@damore.org>2020-02-07 18:53:20 -0800
commitf79eb9473fbee6207b3e992aa884b8913d7cdc46 (patch)
tree5724eee808251a6fdec51b9d7a47550cb5852845 /src/protocol/pair1/CMakeLists.txt
parent28c38d4116ffe8a05123cf98f62f7a63fdd1c920 (diff)
downloadnng-f79eb9473fbee6207b3e992aa884b8913d7cdc46.tar.gz
nng-f79eb9473fbee6207b3e992aa884b8913d7cdc46.tar.bz2
nng-f79eb9473fbee6207b3e992aa884b8913d7cdc46.zip
fixes #1189 Extract and deprecate polyamorous mode
Diffstat (limited to 'src/protocol/pair1/CMakeLists.txt')
-rw-r--r--src/protocol/pair1/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol/pair1/CMakeLists.txt b/src/protocol/pair1/CMakeLists.txt
index 3f92c585..f586fabe 100644
--- a/src/protocol/pair1/CMakeLists.txt
+++ b/src/protocol/pair1/CMakeLists.txt
@@ -12,7 +12,9 @@
option (NNG_PROTO_PAIR1 "Enable PAIRv1 protocol." ON)
mark_as_advanced(NNG_PROTO_PAIR1)
-nng_sources_if(NNG_PROTO_PAIR1 pair.c)
+# XXX: break pair1_poly into an ifdef.
+nng_sources_if(NNG_PROTO_PAIR1 pair.c pair1_poly.c)
nng_headers_if(NNG_PROTO_PAIR1 nng/protocol/pair1/pair.h)
nng_defines_if(NNG_PROTO_PAIR1 NNG_HAVE_PAIR1)
-nng_test(pair1_test) \ No newline at end of file
+nng_test(pair1_test)
+nng_test(pair1_poly_test) \ No newline at end of file