[Mlir-commits] [llvm] [mlir] [CMake][TableGen] Make TableGen CMake functions compatible with CMP0116 (PR #72333)
NAKAMURA Takumi
llvmlistbot at llvm.org
Thu Nov 16 06:37:07 PST 2023
================
@@ -19,19 +19,34 @@ function(tablegen project ofn)
# Use depfile instead of globbing arbitrary *.td(s) for Ninja.
if(CMAKE_GENERATOR MATCHES "Ninja")
----------------
chapuni wrote:
```
if(CMAKE_GENERATOR MATCHES "Ninja" AND cmp0116_state STREQUAL "NEW")
```
I think it would be fair to fall back to `file(GLOB)` if `CMP0116` is `OLD`.
https://github.com/llvm/llvm-project/pull/72333
More information about the Mlir-commits
mailing list