aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ffcb2b7b..2f2f54ff 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -144,7 +144,12 @@ if (NNG_PLATFORM_WINDOWS)
endif()
if (NNG_ENABLE_ZEROTIER)
- set (NNG_SOURCES ${NNG_SOURCES} transport/zerotier/zerotier.c)
+ set (NNG_SOURCES ${NNG_SOURCES}
+ transport/zerotier/zerotier.c
+ transport/zerotier/zerotier.h
+ )
+ install(FILES transport/zerotier/zerotier.h
+ DESTINATION include/nng/transport/zerotier)
endif()
include_directories(AFTER SYSTEM ${PROJECT_SOURCE_DIR}/src