From 239c34dfbe80277628f08d2485d8c4d0365ddab4 Mon Sep 17 00:00:00 2001 From: luocai Date: Mon, 25 Nov 2024 18:51:45 +0800 Subject: [PATCH] add nng cmake config. --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3bb1f2..17a430e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,10 +9,7 @@ set(Libraries_ROOT /opt/Libraries) set(Wt_DIR ${Libraries_ROOT}/wt-4.11.1/lib/cmake/wt) set(MbedTLS_DIR ${Libraries_ROOT}/mbedtls-3.6.2/lib/cmake/MbedTLS) - -set(NNG_ROOT ${Libraries_ROOT}/nng-1.9.0) -set(NNG_INCLUDE_DIR ${NNG_ROOT}/include) -set(NNG_LIBRARY_DIRS ${NNG_ROOT}/lib) +set(nng_DIR ${Libraries_ROOT}/nng-1.9.0/lib/cmake/nng) set(OPENSSL_LIBRARIES ssl crypto)