From ef80a6a66666d8fdc34b521da9221a5e4950f75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=81=E4=B8=80?= Date: Fri, 25 Oct 2024 11:40:13 +0800 Subject: [PATCH] [~] fix unit link err --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f340cbd1..bcd2b0e2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -65,6 +65,7 @@ else() ${LIBEVENT_LIBRARY} m dl + stdc++ pthread CACHE STRING "xquic app depend libs") endif() @@ -145,6 +146,7 @@ if(HAVE_CUNIT) ${CUNIT_LIBRARIES} ${SSL_LIB_PATH} m + stdc++ dl pthread CACHE STRING "xquic unit test depend libs")