Back to Cmake

CMAKE_LIBRARY_PATH

Help/variable/CMAKE_LIBRARY_PATH.rst

4.3.2451 B
Original Source

CMAKE_LIBRARY_PATH

:ref:Semicolon-separated list <CMake Language Lists> of directories specifying a search path for the :command:find_library command. By default it is empty, it is intended to be set by the project.

There is also an environment variable :envvar:CMAKE_LIBRARY_PATH, which is used as an additional list of search directories.

See also :variable:CMAKE_SYSTEM_LIBRARY_PATH and :variable:CMAKE_PREFIX_PATH.