diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-26 09:57:56 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-26 09:57:56 -0800 |
| commit | d93cbc059cd1e42773d1aec19f8b49a972f2eac3 (patch) | |
| tree | 71a6c79e8ae5c2ef9ed9beb06088ccd4d832fca9 /CMakeLists.txt | |
| parent | a9e81c87a7b2a203c2bd4f310f936af46ef42fc1 (diff) | |
| download | nng-d93cbc059cd1e42773d1aec19f8b49a972f2eac3.tar.gz nng-d93cbc059cd1e42773d1aec19f8b49a972f2eac3.tar.bz2 nng-d93cbc059cd1e42773d1aec19f8b49a972f2eac3.zip | |
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.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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) |
