aboutsummaryrefslogtreecommitdiff
path: root/apps/nc
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-07-04 10:37:24 +0300
committerBrent Cook <busterb@gmail.com>2023-07-04 10:37:24 +0300
commit71ce0b8c3e07079a40011d2f3515969e3bdf302e (patch)
tree78aae3da0c893e54f2c65240f4dc3cbc317d739c /apps/nc
parentb16ad4dbd4143aa27e89744a635ebd7d48697af4 (diff)
downloadportable-71ce0b8c3e07079a40011d2f3515969e3bdf302e.tar.gz
portable-71ce0b8c3e07079a40011d2f3515969e3bdf302e.tar.bz2
portable-71ce0b8c3e07079a40011d2f3515969e3bdf302e.zip
generate opensslconf.h in build dir for cmake
Diffstat (limited to 'apps/nc')
-rw-r--r--apps/nc/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt
index bd59211..ffd68e5 100644
--- a/apps/nc/CMakeLists.txt
+++ b/apps/nc/CMakeLists.txt
@@ -36,8 +36,14 @@ else()
36endif() 36endif()
37 37
38add_executable(nc ${NC_SRC}) 38add_executable(nc ${NC_SRC})
39target_include_directories(nc PUBLIC ../../include) 39target_include_directories(nc
40target_include_directories(nc PRIVATE . ./compat ../../include/compat) 40 PRIVATE
41 .
42 ./compat
43 ../../include/compat
44 PUBLIC
45 ../../include
46 ${CMAKE_BINARY_DIR}/include)
41target_link_libraries(nc ${LIBTLS_LIBS}) 47target_link_libraries(nc ${LIBTLS_LIBS})
42 48
43if(ENABLE_NC) 49if(ENABLE_NC)