add_executable(onnf main.cpp) target_link_libraries(onnf builder compiler ${MLIRLibs} ${Boost_LIBRARIES}) set_target_properties(onnf PROPERTIES LINK_FLAGS "-lz") whole_archive_link_mlir(onnf ${MLIRWholeArchiveLibs}) whole_archive_link_onnf(onnf onnf_transform) target_include_directories(onnf PRIVATE ${CMAKE_SOURCE_DIR}) target_include_directories(onnf PRIVATE ${CMAKE_BINARY_DIR}) install(TARGETS onnf DESTINATION bin)