[Mlir-commits] [mlir] 03078ec - Remove include_directories() from cmake `mlir_tablegen()` function (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Mar 13 21:36:39 PDT 2022
Author: Mehdi Amini
Date: 2022-03-14T04:36:24Z
New Revision: 03078ec20b12605fd4dfd9fe9c98a26c9d2286d7
URL: https://github.com/llvm/llvm-project/commit/03078ec20b12605fd4dfd9fe9c98a26c9d2286d7
DIFF: https://github.com/llvm/llvm-project/commit/03078ec20b12605fd4dfd9fe9c98a26c9d2286d7.diff
LOG: Remove include_directories() from cmake `mlir_tablegen()` function (NFC)
This is present since the beginning, but does not seem needed by any
in-tree target right now. This seems like the kind of thing to populate
by the caller if needed.
Differential Revision: https://reviews.llvm.org/D121565
Added:
Modified:
mlir/cmake/modules/AddMLIR.cmake
Removed:
################################################################################
diff --git a/mlir/cmake/modules/AddMLIR.cmake b/mlir/cmake/modules/AddMLIR.cmake
index 3c1ba3d8211fe..f1dcf83315179 100644
--- a/mlir/cmake/modules/AddMLIR.cmake
+++ b/mlir/cmake/modules/AddMLIR.cmake
@@ -5,7 +5,6 @@ function(mlir_tablegen ofn)
tablegen(MLIR ${ARGV})
set(TABLEGEN_OUTPUT ${TABLEGEN_OUTPUT} ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
PARENT_SCOPE)
- include_directories(${CMAKE_CURRENT_BINARY_DIR})
endfunction()
# Declare a dialect in the include directory
More information about the Mlir-commits
mailing list