cmake find package 有一套详细的方式.
参考:
https://blog.csdn.net/dbzhang800/article/details/6329314
https://blog.csdn.net/bytxl/article/details/50637277
转载于:https://www.cnblogs.com/svenzhang9527/p/10713980.html