diff options
author | Brent Cook <busterb@gmail.com> | 2023-07-04 10:37:24 +0300 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-07-04 10:37:24 +0300 |
commit | 71ce0b8c3e07079a40011d2f3515969e3bdf302e (patch) | |
tree | 78aae3da0c893e54f2c65240f4dc3cbc317d739c /apps/nc | |
parent | b16ad4dbd4143aa27e89744a635ebd7d48697af4 (diff) | |
download | portable-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.txt | 10 |
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() | |||
36 | endif() | 36 | endif() |
37 | 37 | ||
38 | add_executable(nc ${NC_SRC}) | 38 | add_executable(nc ${NC_SRC}) |
39 | target_include_directories(nc PUBLIC ../../include) | 39 | target_include_directories(nc |
40 | target_include_directories(nc PRIVATE . ./compat ../../include/compat) | 40 | PRIVATE |
41 | . | ||
42 | ./compat | ||
43 | ../../include/compat | ||
44 | PUBLIC | ||
45 | ../../include | ||
46 | ${CMAKE_BINARY_DIR}/include) | ||
41 | target_link_libraries(nc ${LIBTLS_LIBS}) | 47 | target_link_libraries(nc ${LIBTLS_LIBS}) |
42 | 48 | ||
43 | if(ENABLE_NC) | 49 | if(ENABLE_NC) |