Add include path to the TestDialect to fix broken build.
authorRiver Riddle <riverriddle@google.com>
Thu, 5 Dec 2019 23:32:59 +0000 (15:32 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 5 Dec 2019 23:33:33 +0000 (15:33 -0800)
PiperOrigin-RevId: 284067891

mlir/test/lib/IR/CMakeLists.txt

index 9e3b8fb..439d3a4 100644 (file)
@@ -4,6 +4,8 @@ add_llvm_library(MLIRTestIR
 
   ADDITIONAL_HEADER_DIRS
   )
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../TestDialect)
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/../TestDialect)
 target_link_libraries(MLIRTestIR
   MLIRPass
   )