blob: f5fd8ce9f3cf7eb2b6adafc3bbe9a7a10990f5ae [file] [log] [blame]
Haibo Huang39101902020-08-03 18:43:26 -07001CMAKE_FIND_DEBUG_MODE
2---------------------
3
4Print extra find call information for the following commands to standard
5error:
6
7* :command:`find_program`
8* :command:`find_library`
9* :command:`find_file`
10* :command:`find_path`
11* :command:`find_package`
12
13Output is designed for human consumption and not for parsing.
14Enabling this variable is equivalent to using :manual:`cmake <cmake(1)>` ``--debug-find``
15with the added ability to enable debugging for a subset of find calls.
16
17.. code-block:: cmake
18
19 set(CMAKE_FIND_DEBUG_MODE TRUE)
20 find_program(...)
21 set(CMAKE_FIND_DEBUG_MODE FALSE)
22
23Default is unset.