fix onnf build
This commit is contained in:
parent
e4f95e2540
commit
4eb95b2373
|
@ -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})
|
||||
|
||||
|
|
Loading…
Reference in New Issue