From d93cbc059cd1e42773d1aec19f8b49a972f2eac3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Jan 2017 09:57:56 -0800 Subject: Added more plumbing to facilitate test writing & compatibility. Also, while here fixed a bug for the PAIR protocol in compat mode. It should now be possible to import more of the nanomsg tests directly with little or no modification. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 190e75fc..3ccf895a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,8 +91,10 @@ option (NNG_TESTS "Build and run tests" ON) option (NNG_TOOLS "Build extra tools" OFF) option (NNG_ENABLE_NNGCAT "Enable building nngcat utility." ${NNG_TOOLS}) -# Platform checks. +# Enable access to private APIs for our own use. +add_definitions (-DNNG_PRIVATE) +# Platform checks. if (CMAKE_SYSTEM_NAME MATCHES "Linux") find_package (Threads REQUIRED) -- cgit v1.2.3-70-g09d2