From b6d26238fc4095e00656a1bc4f8ab780af3cb878 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 5 Feb 2023 19:36:17 -0400 Subject: Fill NNG_PKGS to request nng dependencies from installed location. (#1641) Signed-off-by: Andrey Vostrikov Co-authored-by: Andrey Vostrikov --- src/platform/posix/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platform') 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 () -- cgit v1.2.3-70-g09d2