diff --git a/mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt b/mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt --- a/mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt +++ b/mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt @@ -17,7 +17,9 @@ # Older versions of cmake (< 3.19) require INTERFACE libraries to separate # the `add_library` and `target_sources` calls. add_library(MLIRSparseTensorEnums INTERFACE) -target_sources(MLIRSparseTensorEnums INTERFACE ${MLIRSparseTensorEnums_srcs}) +target_sources(MLIRSparseTensorEnums INTERFACE + $ + $) # The `add_mlir_library_install` is required for other libraries to # depend on this one, but the conditional itself and the phony target # are copypasta from `add_mlir_library`. Afaict (wrengr), the version