• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_FIND_DEBUG_MODE
2---------------------
3
4.. versionadded:: 3.17
5
6Print extra find call information for the following commands to standard
7error:
8
9* :command:`find_program`
10* :command:`find_library`
11* :command:`find_file`
12* :command:`find_path`
13* :command:`find_package`
14
15Output is designed for human consumption and not for parsing.
16Enabling this variable is equivalent to using :manual:`cmake <cmake(1)>` ``--debug-find``
17with the added ability to enable debugging for a subset of find calls.
18
19.. code-block:: cmake
20
21  set(CMAKE_FIND_DEBUG_MODE TRUE)
22  find_program(...)
23  set(CMAKE_FIND_DEBUG_MODE FALSE)
24
25Default is unset.
26