diff options
| author | Garrett D'Amore <garrett@damore.org> | 2023-02-05 19:36:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-05 19:36:17 -0400 |
| commit | b6d26238fc4095e00656a1bc4f8ab780af3cb878 (patch) | |
| tree | 4387c71da6949519e66eb7e5bf8ec92942713276 /src | |
| parent | e7a3e415ba0ca8daf22fecb235577e87d637864c (diff) | |
| download | nng-b6d26238fc4095e00656a1bc4f8ab780af3cb878.tar.gz nng-b6d26238fc4095e00656a1bc4f8ab780af3cb878.tar.bz2 nng-b6d26238fc4095e00656a1bc4f8ab780af3cb878.zip | |
Fill NNG_PKGS to request nng dependencies from installed location. (#1641)
Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
Co-authored-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/platform/posix/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/sp/transport/zerotier/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/supplemental/tls/mbedtls/CMakeLists.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/platform/posix/CMakeLists.txt b/src/platform/posix/CMakeLists.txt index 7b619fa2..dcfea221 100644 --- a/src/platform/posix/CMakeLists.txt +++ b/src/platform/posix/CMakeLists.txt @@ -13,7 +13,7 @@ # the static library unless they also go into the dynamic. if (NNG_PLATFORM_POSIX) - find_package(Threads REQUIRED) + nng_find_package(Threads) nng_link_libraries(Threads::Threads) # Unconditionally declare the following feature test macros. These are @@ -108,4 +108,4 @@ if (NNG_PLATFORM_POSIX) nng_test(posix_ipcwinsec_test) -endif ()
\ No newline at end of file +endif () diff --git a/src/sp/transport/zerotier/CMakeLists.txt b/src/sp/transport/zerotier/CMakeLists.txt index 903b7f56..dedc9296 100644 --- a/src/sp/transport/zerotier/CMakeLists.txt +++ b/src/sp/transport/zerotier/CMakeLists.txt @@ -28,7 +28,7 @@ if (NNG_TRANSPORT_ZEROTIER) Consult a lawyer and the license files for details. ************************************************************") - find_package(zerotiercore REQUIRED) + nng_find_package(zerotiercore) nng_link_libraries(zerotiercore::zerotiercore) nng_defines(NNG_TRANSPORT_ZEROTIER) diff --git a/src/supplemental/tls/mbedtls/CMakeLists.txt b/src/supplemental/tls/mbedtls/CMakeLists.txt index a0af30c3..2d639efa 100644 --- a/src/supplemental/tls/mbedtls/CMakeLists.txt +++ b/src/supplemental/tls/mbedtls/CMakeLists.txt @@ -23,7 +23,7 @@ if (NNG_TLS_ENGINE STREQUAL "mbed") if (TARGET mbedtls) nng_link_libraries(mbedtls) else() - find_package(mbedTLS REQUIRED) + nng_find_package(mbedTLS) nng_link_libraries(${MBEDTLS_LIBRARIES}) nng_include_directories(${MBEDTLS_INCLUDE_DIR}) endif() |
