参考:https://cmake.org/cmake/help/v3.0/index.html
CMAKE_PREFIX_PATH:
Path used for searching by FIND_XXX(), with appropriate suffixes added.
Specifies a path which will be used by the FIND_XXX() commands. It contains the “base” directories, the FIND_XXX() commands append appropriate subdirectories to the base directories. So FIND_PROGRAM() adds /bin to each of the directories in the path, FIND_LIBRARY() appends /lib to each of the directories, and FIND_PATH() and FIND_FILE() append /include . By default it is empty, it is intended to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH, CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.
CMAKE_MODULE_PATH
List of directories to search for CMake modules.
Commands like include() and find_package() search for files in directories listed by this variable before checking the default modules that come with CMake.
LIBRARY_PATH
在编译找动态库的路径
LD_LIBRARY_PATH
在运行时找动态库的路径
C_INCLUDE_PATH
编译C文件时找的头文件地址
CPLUS_INCLUDE_PATH
编译C++文件时找的头文件地址