blob: 8f2a82f24d8a644b6e96df0501f8ad5557da8a51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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.
|