aboutsummaryrefslogtreecommitdiff
path: root/apps/nc
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2018-05-29 05:44:34 -0500
committerBrent Cook <bcook@openbsd.org>2018-05-29 05:46:54 -0500
commit4fcfc82d83de32098530abfa3aff5d6fc5532433 (patch)
tree449adaa04fdd66b065fb9ffd4f58912d398c03ca /apps/nc
parent9b4044d8edce19f72649ba2960a54d57373b84b5 (diff)
downloadportable-4fcfc82d83de32098530abfa3aff5d6fc5532433.tar.gz
portable-4fcfc82d83de32098530abfa3aff5d6fc5532433.tar.bz2
portable-4fcfc82d83de32098530abfa3aff5d6fc5532433.zip
scope private/public headers when embedding into other projects
thanks to Cameron Palmer
Diffstat (limited to 'apps/nc')
-rw-r--r--apps/nc/CMakeLists.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt
index 64d14fa..30c1745 100644
--- a/apps/nc/CMakeLists.txt
+++ b/apps/nc/CMakeLists.txt
@@ -1,12 +1,5 @@
1if(BUILD_NC) 1if(BUILD_NC)
2 2
3include_directories(
4 .
5 ./compat
6 ../../include
7 ../../include/compat
8)
9
10set( 3set(
11 NC_SRC 4 NC_SRC
12 atomicio.c 5 atomicio.c
@@ -50,6 +43,7 @@ else()
50endif() 43endif()
51 44
52add_executable(nc ${NC_SRC}) 45add_executable(nc ${NC_SRC})
46target_include_directories(nc PRIVATE . ./compat)
53target_link_libraries(nc tls ${OPENSSL_LIBS}) 47target_link_libraries(nc tls ${OPENSSL_LIBS})
54 48
55if(ENABLE_NC) 49if(ENABLE_NC)