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找不到了

猜你喜欢

转载自blog.csdn.net/jacke121/article/details/132633487