Skip to content

cmake: Stop pointing users at logs on configure errors

Brad King requested to merge brad.king/cmake:configure-log into master

Since commit 18e1bfbb (cmake: On configure error suggest looking at CMake*.log files, 2013-07-09, v2.8.12~210^2), when configuring a project fails, we print See also .../CMake{Output,Error}.log near the end of the output. This was intended to help users find failures in system and compiler inspection checks, but for normal project errors the messages may be misleading. The logs may contain incidental errors that are part of normal operation and do not need to be addressed by the user.

Since !8089 (merged), CMake's builtin modules no longer log information to the old-style CMake{Output,Error}.log files anyway, so stop mentioning them.

Fixes: #22131 (closed)
Issue: #23200 (closed)

Merge request reports