因为经常把第三方依赖装到非系统目录下,因此cmake需要使用环境变量
include_directories("$ENV{HOME}/opt/gflags/build/install/include") link_directories("$ENV{HOME}//opt/gflags/build/install/lib") link_libraries(gflags)