Add CMake deps on additional MLIR dialects

* Unbreaks building the python bindings with CMake
* Allows the ctest `bindings_python_pyiree_compiler_compiler_test` to pass
* The other python tests are still broken, see #905

Closes https://github.com/google/iree/pull/1058

COPYBARA_INTEGRATE_REVIEW=https://github.com/google/iree/pull/1058 from iml130:cmake-python-bindings 35ae44d6f6fb1f79edce1eba82bb9b69adbe9b7d
PiperOrigin-RevId: 300827020
diff --git a/bindings/python/pyiree/compiler/CMakeLists.txt b/bindings/python/pyiree/compiler/CMakeLists.txt
index 2788cbc..6d640e0 100644
--- a/bindings/python/pyiree/compiler/CMakeLists.txt
+++ b/bindings/python/pyiree/compiler/CMakeLists.txt
@@ -58,6 +58,13 @@
     bindings::python::pyiree::common
     LLVMSupport
     MLIRIR
+    # TODO(marbre): The following deps are necessary as we still rely on
+    #  mlir::registerAllDialects(). In the Bazel build these are pulled in
+    #  by the dependency on mlir:AllPassesAndDialectsNoRegistration
+    MLIRNVVMIR # mlir:AllPassesAndDialectsNoRegistration
+    MLIRROCDLIR # mlir:AllPassesAndDialectsNoRegistration
+    MLIRQuantizerFxpMathConfig # mlir:AllPassesAndDialectsNoRegistration
+    MLIRQuantizerSupport # mlir:AllPassesAndDialectsNoRegistration
     MLIRLoopOpsTransforms
     MLIRParser
     MLIRPass