[ORC] Fail materialization in tasks that are destroyed before running.
[llvm-project.git] / mlir / examples / transform / Ch3 / CMakeLists.txt
blob1bfe18b9c037361e2d2bce3945936cec0a908eb0
1 # For a better top-level template to copy, see examples/standalone.
3 include_directories(${CMAKE_CURRENT_BINARY_DIR})
4 include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
5 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
7 add_subdirectory(include)
8 add_subdirectory(lib)
10 add_dependencies(TransformExample transform-opt-ch3)
11 add_llvm_example(transform-opt-ch3
12   transform-opt/transform-opt.cpp)
14 target_link_libraries(transform-opt-ch3
15   PRIVATE
16   MLIRIR
17   MLIRMlirOptMain
18   MLIRSideEffectInterfaces
19   MyExtensionCh3