CMakeLists.txt: link properly
This commit is contained in:
parent
e4eb61c9ee
commit
f6646d787f
|
@ -59,7 +59,7 @@ CHECK_FUNCTION_EXISTS ("resizeterm" HAVE_RESIZETERM)
|
||||||
foreach (extra iconv)
|
foreach (extra iconv)
|
||||||
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