summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_PREFIX_PATH.rst
blob: 4c21d5e11d8cac1f952728a6ef38a30ee1f82f73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.