https://github.com/Kitware/CMake
Raw File
Tip revision: 451d1c8b6ccf2ebca0885ef05d9c65da33630411 authored by Brad King on 08 March 2023, 14:15:32 UTC
CMake 3.24.4
Tip revision: 451d1c8
CMAKE_FIND_DEBUG_MODE.rst
CMAKE_FIND_DEBUG_MODE
---------------------

.. versionadded:: 3.17

Print extra find call information for the following commands to standard
error:

* :command:`find_program`
* :command:`find_library`
* :command:`find_file`
* :command:`find_path`
* :command:`find_package`

Output is designed for human consumption and not for parsing.
Enabling this variable is equivalent to using :manual:`cmake <cmake(1)>` ``--debug-find``
with the added ability to enable debugging for a subset of find calls.

.. code-block:: cmake

  set(CMAKE_FIND_DEBUG_MODE TRUE)
  find_program(...)
  set(CMAKE_FIND_DEBUG_MODE FALSE)

Default is unset.
back to top