cmake Tutorial => Debug find_package() errors
riptutorial.com › cmake › exampleIf "Xyz" provides a separate development package or SDK, be sure it has been installed. And you're wondering where it tried to find the library, you can use the undocumented CMAKE_FIND_DEBUG_MODE global variable for getting a more verbose output $ cmake -D CMAKE_FIND_DEBUG_MODE=ON .. PDF - Download cmake for free Previous Next
Debug CMake find_library - Stack Overflow
stackoverflow.com › questions › 49431342Mar 22, 2018 · The “CMAKE_FIND_DEBUG_MODE” variable was introduced to print extra find call information during the cmake run to standard error. Output is designed for human consumption and not for parsing. So you pass either -DCMAKE_FIND_DEBUG_MODE=true or --debug-find to your CMake command. Here is an example output when searching for libFOO: