fix(ServerLib): Add missing dependency to mlir-headers

When building the ServerLib before any other concretelang target that
depends on `mlir-headers`, compilation fails due to missing include
files generated by tablegen, e.g., `llvm/IR/Attributes.inc`.

This adds a dependency from ServerLib to `mlir-headers`, which forces
the generation of the missing header files.
This commit is contained in:
Andi Drebes
2022-10-11 09:48:24 +02:00
committed by Quentin Bourgerie
parent eae898b56f
commit 7aab560dd6

View File

@@ -21,6 +21,9 @@ add_mlir_library(
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/concretelang/ServerLib
DEPENDS
mlir-headers
LINK_LIBS
ConcretelangRuntime
ConcretelangClientLib