From e68a344ff8d46f7430ca804f6f6e9e6d9123114c Mon Sep 17 00:00:00 2001 From: Chrysostomos Nanakos Date: Fri, 10 Apr 2020 22:55:32 +0300 Subject: [PATCH] Fix OSX Catalina compilation failure Include openssl library path for n2n-benchmark compilation Fixes https://github.com/ntop/n2n/issues/222 Signed-off-by: Chrysostomos Nanakos --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68d0097..b804c27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,7 @@ install(TARGETS edge supernode include_directories(.) add_executable(n2n-benchmark tools/benchmark.c) -target_link_libraries(n2n-benchmark n2n) +target_link_libraries(n2n-benchmark n2n ${OPENSSL_LIBRARIES}) find_library(PCAP_LIB pcap) if(PCAP_LIB)