CMAKE_FIND_ROOT_PATH_MODE_XXX.txt 464 B

12345678
  1. This variable controls whether the :variable:`CMAKE_FIND_ROOT_PATH` and
  2. :variable:`CMAKE_SYSROOT` are used by |FIND_XXX|.
  3. If set to ``ONLY``, then only the roots in :variable:`CMAKE_FIND_ROOT_PATH`
  4. will be searched. If set to ``NEVER``, then the roots in
  5. :variable:`CMAKE_FIND_ROOT_PATH` will be ignored and only the host system
  6. root will be used. If set to ``BOTH``, then the host system paths and the
  7. paths in :variable:`CMAKE_FIND_ROOT_PATH` will be searched.