CMake Error: The following variables are used in this project, but they are set to NOTFOUND.Please

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:


log-lib

正确用法:

find_library(log-lib log)

target_link_libraries(MyApp
                      ${log-lib})

我用错了,多加了yuv

find_library(log-lib 
yuv 
log)

导致lig-lib找不到了

你可能感兴趣的:(android开发,c++基础,linux,运维,服务器)