CMakeLists.txt: link properly
This commit is contained in:
parent
f0583e3d1a
commit
cabd2bad9b
|
@ -59,7 +59,7 @@ link_directories (${libssl_LIBRARY_DIRS} ${jansson_LIBRARY_DIRS})
|
||||||
foreach (extra iconv dl rt)
|
foreach (extra iconv dl rt)
|
||||||
find_library (extra_lib_${extra} ${extra})
|
find_library (extra_lib_${extra} ${extra})
|
||||||
if (extra_lib_${extra})
|
if (extra_lib_${extra})
|
||||||
list (APPEND project_libraries ${extra})
|
list (APPEND project_libraries ${extra_lib_${extra}})
|
||||||
endif ()
|
endif ()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue