From 4eb95b23736cf6871179a6a8c2006cfa784139be Mon Sep 17 00:00:00 2001 From: Tian Jin Date: Tue, 24 Dec 2019 03:00:54 -0500 Subject: [PATCH] fix onnf build --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0aa0a32..b537820 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -68,7 +68,7 @@ add_subdirectory(runtime) add_executable(onnf main.cpp) -target_link_libraries(onnf builder ${MLIRLibs} onnf_transform) +target_link_libraries(onnf builder ${MLIRLibs} onnf_transform onnf_shape_inference onnf_lower_frontend) set_target_properties(onnf PROPERTIES LINK_FLAGS "-lz") whole_archive_link_mlir(onnf ${MLIRWholeArchiveLibs})