From cabd2bad9baa36b32f26e7ef7e3247b72b2552f3 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 4 Jul 2023 08:05:03 +0200 Subject: CMakeLists.txt: link properly --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb004be..900655e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ link_directories (${libssl_LIBRARY_DIRS} ${jansson_LIBRARY_DIRS}) foreach (extra iconv dl rt) find_library (extra_lib_${extra} ${extra}) if (extra_lib_${extra}) - list (APPEND project_libraries ${extra}) + list (APPEND project_libraries ${extra_lib_${extra}}) endif () endforeach () -- cgit v1.2.3-70-g09d2