diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-09-24 14:59:31 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-09-24 14:59:31 -0700 |
| commit | c084742b80d6514b39824617a41eb16910c53cf4 (patch) | |
| tree | 5081bed1a7420d076269ae5a766634154c8e4414 /CMakeLists.txt | |
| parent | 9d67af764fbc65cd8b96fbd86d295e55c96126cc (diff) | |
| download | nng-c084742b80d6514b39824617a41eb16910c53cf4.tar.gz nng-c084742b80d6514b39824617a41eb16910c53cf4.tar.bz2 nng-c084742b80d6514b39824617a41eb16910c53cf4.zip | |
fixes #735 Configuring ZeroTier for a unified build is too hard
This changes the code to make use of a different project we have
created (libzerotiercore) that is "CMake clean". This should make
using and configuring this code *much* better. It may also have the
benefit of making this configuration work better for Windows systems.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3042be38..52421a0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,6 +236,7 @@ mark_as_advanced(NNG_TRANSPORT_WSS) option (NNG_TRANSPORT_ZEROTIER "Enable ZeroTier transport (requires libzerotiercore)." OFF) if (NNG_TRANSPORT_ZEROTIER) + find_package(zerotiercore REQUIRED) add_definitions (-DNNG_TRANSPORT_ZEROTIER) endif () mark_as_advanced(NNG_TRANSPORT_ZEROTIER) |
