export LD_LIBRARY_PATH=/PATH/:$LD_LIBARARY_PATH
出现***.so找不到,打不开时
查找相应文件
sudo find / =name "***.so"
CMakeList的链接库
set(***_LOCAL_DIR "PWD")
set(***_DIR "${***_LOCAL_DIR}")
find_package (*** REQUIRED PATHS ${***_DIR})
set(***_INCLUDE_DIRS "pwd/include")
message()