diff --git a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake --- a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake +++ b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake @@ -8,7 +8,7 @@ if(pybind11_DIR) message(STATUS "Using explicit pybind11 cmake directory: ${pybind11_DIR} (-Dpybind11_DIR to change)") else() - message(CHECK_START "Checking for pybind11 in python path...") + message(STATUS "Checking for pybind11 in python path...") execute_process( COMMAND "${PYTHON_EXECUTABLE}" -c "import pybind11;print(pybind11.get_cmake_dir(), end='')" @@ -17,10 +17,10 @@ OUTPUT_VARIABLE PACKAGE_DIR ERROR_QUIET) if(NOT STATUS EQUAL "0") - message(CHECK_FAIL "not found (install via 'pip install pybind11' or set pybind11_DIR)") + message(STATUS "not found (install via 'pip install pybind11' or set pybind11_DIR)") return() endif() - message(CHECK_PASS "found (${PACKAGE_DIR})") + message(STATUS "found (${PACKAGE_DIR})") set(pybind11_DIR "${PACKAGE_DIR}" PARENT_SCOPE) endif() endfunction()