Cmake把一个路径下的所有lib都加进去 link_libraries https://blog.csdn.net/challenglistic/article/details/129093434 介绍的很详细 添加搜索路径;