target_link_libraries( hello
{ANDROID_ABI}/liba.a
{ANDROID_ABI}/libb.a
{ANDROID_ABI}/libc.a
{ANDROID_ABI}/libd.a
${log-lib} )
需要把被依赖的库放在依赖的库后面
target_link_libraries( hello
{ANDROID_ABI}/liba.a
{ANDROID_ABI}/libb.a
{ANDROID_ABI}/libc.a
{ANDROID_ABI}/libd.a
${log-lib} )
需要把被依赖的库放在依赖的库后面
本文标题:CMake命令target_link_libraries链接库的
本文链接:https://www.haomeiwen.com/subject/sflncrtx.html
网友评论