Add missing dependency on NPCOMPCAPI from NPCOMPPythonCommon

Fix linker error:

lib/Python/libNPCOMPPythonCommon.a(MlirInit.cpp.o): in function `mlir::npcomp::python::npcompMlirInitialize()':
mlir-npcomp/build/../lib/Python/MlirInit.cpp:46: undefined reference to `npcompInitializeLLVMCodegen'
pull/93/head
Mehdi Amini 2020-10-23 05:18:22 +00:00
parent 91fc83d2e7
commit f3c75d957b
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ add_library(NPCOMPPythonCommon
target_link_libraries(NPCOMPPythonCommon
pybind11::module
NPCOMPInitAll
NPCOMPCAPI
# Core dialects
MLIRSCF