Make ninja smart console builds more pretty
authorDavid Zarzycki <dave@znu.io>
Mon, 22 Jun 2020 10:34:49 +0000 (06:34 -0400)
committerDavid Zarzycki <dave@znu.io>
Mon, 22 Jun 2020 10:35:13 +0000 (06:35 -0400)
commit2a9c3eb9ec8e16519ac33c601aa1a7deaaf6c1c2
tree759b39fa036d9a8dfa0aefef1a97595bc7c78b90
parent8f6620f663031da2bb35b788239f4b607271af84
Make ninja smart console builds more pretty

Summary: CMake's `find_package` outputs to the console on success, which confuses the smart console mode of the `ninja` build system. Let's quiet the success message and manually warn instead.

Reviewers: tstellar, phosek, mehdi_amini

Reviewed By: mehdi_amini

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82276
llvm/cmake/modules/VersionFromVCS.cmake