如何在cmake中链接libatomic?

时间:2017-12-25 11:23:31

标签: android hyperlink android-ndk .so

我尝试在我的cmake文件中链接库,如下所示:

find_library( atomic-lib atomic )
target_link_libraries( mylib ${atomic-lib})

但仍然出现错误

Please set them or make sure they are set and tested correctly in the CMake files:atomic-lib

0 个答案:

没有答案