cmake - How can I debug CMakeLists.txt files? - Stack Overflow
https://stackoverflow.com/questions/22803607/how-can-i-debug-cmakelists-txt-files
WebTo debug commands that find things like find_program(), find_library(), find_file(), find_path(), and find_package(), use the --debug-find flag, or for debugging at more granular scopes, the CMAKE_FIND_DEBUG_MODE variable. To debug try_compile/try_run failures, use the --debug-trycompile flag
DA: 30 PA: 43 MOZ Rank: 92