[mlir] use STATUS instead of CHECK_* in MLIRDetectPythonEnv.cmake
authorAlex Zinenko <zinenko@google.com>
Mon, 23 Nov 2020 12:58:03 +0000 (13:58 +0100)
committerAlex Zinenko <zinenko@google.com>
Tue, 24 Nov 2020 23:09:33 +0000 (00:09 +0100)
commit21b346bd70baa8e69d60988cc41cfd7b6ec98dfc
treeaa1d6dfdaf0f4f56c94079a24f1ce3533ce2358c
parent22169e11c304780627c3ed1cc6bd0daf91e852c3
[mlir] use STATUS instead of CHECK_* in MLIRDetectPythonEnv.cmake

CHECK_* directives for message() where added in Cmake 3.17, LLVM
requires 3.14 as minimum so they may not be intepreted correctly and
just print "CHECK_*" into the message stream. Replace them with STATUS.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D91959
mlir/cmake/modules/MLIRDetectPythonEnv.cmake