From 50cd2499b7e884ca2fa858f045f1d169318957e4 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Wed, 21 Feb 2018 16:04:58 -0800 Subject: [PATCH] Added linker reference to dl --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 77151a5..e837c09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,7 +164,7 @@ foreach (testsourcefile ${APP_SOURCES}) if (WIN32) target_link_libraries (${testname} lwip zto zt) else() - target_link_libraries (${testname} lwip zto zt pthread) + target_link_libraries (${testname} lwip zto zt pthread dl) endif() endforeach (testsourcefile ${APP_SOURCES})