aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/pair1/CMakeLists.txt
diff options
context:
space:
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