Under Windows, the paths may contain `\` path separators. `MLIR_TABLEGEN_EXE` is added into MLIRConfig.cmake where backslashes are interpreted as escape characters. This results in syntax errors during `find_package(MLIR)`. Fix by using CMake-normalized paths (`/` separator under all platforms). LLVM/Clang do not put their tablegen paths in their config files. |
||
|---|---|---|
| .. | ||
| AddMLIR.cmake | ||
| AddMLIRPython.cmake | ||
| CMakeLists.txt | ||
| FindLevelZeroRuntime.cmake | ||
| Findocloc.cmake | ||
| FindSyclRuntime.cmake | ||
| IRDLToCpp.cmake | ||
| MLIRCheckHardwareFeatures.cmake | ||
| MLIRConfig.cmake.in | ||
| MLIRConfigVersion.cmake.in | ||
| MLIRDetectPythonEnv.cmake | ||