mirror-llvm-project/mlir/cmake/modules
Anutosh Bhat fd5af7efad
[MLIR][Python] Avoid printing an unset nanobind include directory (#211240)
`nanobind_INCLUDE_DIR` is only populated when MLIR discovers nanobind
through the Python package. When `nanobind_DIR` is supplied explicitly,
the variable remains unset and the configuration output contains an
empty path:
```
  Found nanobind v2.13.0:
```
The nanobind CMake package location is already reported by both
discovery paths.

We can only print the detected nanobind version in the final status
message. Or maybe if we want we can find the include dir for the
explicit path too and merge them to `nanobind_INCLUDE_DIR` but I think
this is better.
2026-07-23 01:52:03 +05:30
..
AddMLIR.cmake [mlir][cmake][NFC] Remove duplicate tablegen_compile_commands.yml append (#207510) 2026-07-04 12:45:11 +00:00
AddMLIRPython.cmake [mlir][python][NFC] Clean up nanobind compile options (#206559) 2026-06-29 21:20:59 -07:00
CMakeLists.txt [MLIR] Normalize path separator in MLIRConfig.cmake (#208659) 2026-07-13 12:52:37 +00:00
FindLevelZeroRuntime.cmake [mlir][ExecutionEngine] Add LevelZeroRuntimeWrapper. (#151038) 2025-08-06 16:48:59 -05:00
Findocloc.cmake [mlir][XeVM] Use libocloc API for binary generation. (#188353) 2026-04-13 10:44:26 -05:00
FindSyclRuntime.cmake [NFC][CMake] quote ${CMAKE_SYSTEM_NAME} consistently (#154537) 2025-08-20 12:45:41 -04:00
IRDLToCpp.cmake
MLIRCheckHardwareFeatures.cmake
MLIRConfig.cmake.in [mlir][cmake] Export MLIR_LINK_MLIR_DYLIB in MLIRConfig.cmake (#207336) 2026-07-08 22:06:52 -07:00
MLIRConfigVersion.cmake.in
MLIRDetectPythonEnv.cmake [MLIR][Python] Avoid printing an unset nanobind include directory (#211240) 2026-07-23 01:52:03 +05:30