From f79eb9473fbee6207b3e992aa884b8913d7cdc46 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 6 Feb 2020 19:12:55 -0800 Subject: fixes #1189 Extract and deprecate polyamorous mode --- src/protocol/pair1/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/protocol/pair1/CMakeLists.txt') 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 -- cgit v1.2.3-70-g09d2