[mlir] Check libraries linked into standalone-opt
authorMarius Brehler <marius.brehler@iml.fraunhofer.de>
Tue, 18 Aug 2020 20:16:00 +0000 (22:16 +0200)
committerMarius Brehler <marius.brehler@iml.fraunhofer.de>
Tue, 18 Aug 2020 20:19:37 +0000 (22:19 +0200)
Adds a call to mlir_check_all_link_libraries() to check all libraries
linked into standalone-opt.

mlir/examples/standalone/standalone-opt/CMakeLists.txt

index 854fd55..06bbb47 100644 (file)
@@ -10,3 +10,5 @@ add_llvm_executable(standalone-opt standalone-opt.cpp)
 
 llvm_update_compile_flags(standalone-opt)
 target_link_libraries(standalone-opt PRIVATE ${LIBS})
+
+mlir_check_all_link_libraries(standalone-opt)