CMakeLists.txt: link properly

This commit is contained in:
Přemysl Eric Janouch 2023-07-04 08:08:25 +02:00
parent 4c2874649d
commit 8466d0d850
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -29,7 +29,7 @@ link_directories (${libssl_LIBRARY_DIRS})
foreach (extra iconv rt)
find_library (extra_lib_${extra} ${extra})
if (extra_lib_${extra})
list (APPEND common_libraries ${extra})
list (APPEND common_libraries ${extra_lib_${extra}})
endif ()
endforeach ()