2020-08-30 11:54:41 +02:00
|
|
|
CMAKE_FIND_DEBUG_MODE
|
|
|
|
---------------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.17
|
|
|
|
|
2020-08-30 11:54:41 +02:00
|
|
|
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.
|
2022-11-16 20:14:03 +01:00
|
|
|
Enabling this variable is equivalent to using :option:`cmake --debug-find`
|
2020-08-30 11:54:41 +02:00
|
|
|
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.
|