From 03078ec20b12605fd4dfd9fe9c98a26c9d2286d7 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Mon, 14 Mar 2022 04:09:56 +0000 Subject: [PATCH] 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 --- mlir/cmake/modules/AddMLIR.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/mlir/cmake/modules/AddMLIR.cmake b/mlir/cmake/modules/AddMLIR.cmake index 3c1ba3d8211f..f1dcf8331517 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