CMake命令target_link_libraries链接库的顺序

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链接库的顺序)